ObjectWeb Consortium
Search ObjectWeb Mail Archive: 

Advanced Search - Powered by Google


Mail Archive Home | shark List | September 2004 Index

<--  Date Index  --> <--  Thread Index  -->

Re: [shark] can we user hibernater in shark 1.0 release?


Hello Stephane 

On Tue, 2004-09-28 at 13:38, you wrote:
> I'm having the following error:
> 
> - ----- ant -v extract
> makedodsnodoc:
> Override ignored for property DODS_HOME
> ~      [ant] Exiting 
> /opt/advance/bpm/shark-1.0/modules/SharkUtilities/DODS/build.xml.
> ~  [antcall] Exiting 
> /opt/advance/bpm/shark-1.0/modules/SharkUtilities/build.xml.
> ~      [ant] Exiting 
> /opt/advance/bpm/shark-1.0/modules/SharkUtilities/build.xml.
> ~  [antcall] Exiting /opt/advance/bpm/shark-1.0/build.xml.
> 
> BUILD FAILED
> /opt/advance/bpm/shark-1.0/build.xml:507: The following error occurred 
> while executing this line:
> /opt/advance/bpm/shark-1.0/build.xml:520: The following error occurred 
> while executing this line:
> /opt/advance/bpm/shark-1.0/input/build/moduletargets.xml:11: The following 
> error occurred while
> executing this line:
> /opt/advance/bpm/shark-1.0/input/build/moduletargets.xml:14: The following 
> error occurred while
> executing this line:
> /opt/advance/bpm/shark-1.0/input/build/dodstargets.xml:33: DODS_HOME not set
> ~        at 
> org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:539)
> ~        at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:388)
> ~        at 
> org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:106)
> ~        at org.apache.tools.ant.Task.perform(Task.java:364)
> ~        at 
> org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:64)
> 
> - -----

As far as I can see, you don't use "standard" configure && make
procedure. Can you please verify if this works:

$ sh configure -jdkhome $JAVA_HOME && make

Then either use default procedure, or append
-DDODS_HOME=/opt/advance/bpm/shark-1.0/util/dods to your ant call. See
Makefile generated by configure.
If configure && make fails, please post data about your environment (OS,
JDK,...) we'll try to solve it. AFAIK Shark builds on various Linux
distros, WinXX, and AIX.

> I was able to build shark with hibernate support.  It's a first step.
> 
> 1/ I had to remove all DODS references from ant targets as it would not 
> build
> in my environment.
> I don't know yet how to conditionally build DODS or Hibernate.

There are no global parameters, as we thought to build everything, but
there are modules/*/submodules.sequence files containing list of
submodules, and similarly file input/modules.sequence contains list of
modules.
Our intention was to choose subset of modules/submodules without editing
build.xml files, that's exactly what you need now.

> 2/ The hibernate configuration files have an hard-coded configuration
> for the database (postgres) and user account.  This makes the database
> setting very difficult to set during deployment.  So, I had to remove
> the DB settings (I'm using mysql) and the DB should probably be set
> in a global properties file.

I hope you'll merge those properties into main "Shark.conf" :)

regards
-- 
Vladimir Puskas
Together, Serbia




<--  Date Index  --> <--  Thread Index  -->

Reply via email to:

Powered by MHonArc.

Copyright © 1999-2005, ObjectWeb Consortium | contact | webmaster.