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?


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi!

Vladimir Puskas wrote:
| 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 see.  The buildAll does not work at the end but the buildNoDoc builds now.

For buildAll target, it fails at the end:

docbook2html:

BUILD FAILED
file:/opt/advance/bpm/tst/shark-1.0/build.xml:395: Java returned: 2


|
|>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.
|

Yes, I only changed the *.sequence files.

|
|>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
|

That would be the idea.

Stephane

- --
                Stephane Carrez
                Research & Development
SOLSOFT
                Phone:  +33 1 47 15 55 00
                Fax:    +33 1 47 15 55 09
                Email:  Stephane.Carrez@xxxxxxxxxxx
_________________________________________________
~      How secure networks are managed.
_________________________________________________
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFBWW4gr4j+vqCKdwERAo81AKCeUhvOLOhdcduvKO3F+Ts6K9fJFwCaAnv/
OPtJ/M3/1c3ibyAnvYs/TFU=
=wnv6
-----END PGP SIGNATURE-----




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

Reply via email to:

Powered by MHonArc.

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