I am new to hibernate, so just trying to get things installed and running.
My platform is RedHat WS 3.0
I've installed Hibernate 2.1.3
I've got mysql 4.0.18-standard installed as well.
I'm trying to build the demo, per instructions in the readme.
I have copied mysql-connector-java-3.0.11-stable-bin.jar to lib/
I have chosen mysql in hibernate.properties (and unchosen hsqldb)
I have chosen mysql in build.xml (driver.jar) -- not specified in readme, but seemed to make sense.
The error I am getting is:
==============
$ ant eg
Buildfile: build.xml
[taskdef] Could not load definitions from resource clovertasks. It could not be found.
eg:
[echo] remember to place your JDBC driver in the lib directory
[java] gij: unrecognized option -- `-classpath'
[java] Try `gij --help' for more information.
BUILD FAILED
file:/opt/hibernate_distribs/hibernate-2.1/build.xml:458: Java returned: 1
Total time: 0 seconds
=================
I don't think this is related to clover missing -- when I remove the clover lines from build.xml, I still get the gij error.
I don't think this is related to mysql. When I specify another persistence layer, the same thing happens.
gij is installed as part of package libgcj-3.2.3-20
================
$ gij --help
Usage: gij [OPTION] ... CLASS [ARGS] ...
to interpret Java bytecodes, or
gij -jar [OPTION] ... JARFILE [ARGS] ...
to execute a jar file
-DVAR=VAL define property VAR with value VAL
--help print this help, then exit
--ms=NUMBER set initial heap size
--mx=NUMBER set maximum heap size
--showversion print version number, then keep going
--version print version number, then exit
See
http://gcc.gnu.org/java/ for information on reporting bugs
===================
I looked through all the files in my hibernate install, but see no reference to gij, so I don't know how to change the call.
Any suggestions? I can get a debug hibernate log if that would help, but my guess is that logging may not have anything to say this early on...
Thanks,
-- Sherry Listgarten
TimesTen, Inc.