Hi,
Downloaded Hibernate 3.2.5 to a Fedora 7 box. I have jdk 1.5 and 1.6 installed. My path points to 1.6 but theant script apparently picked up 1.5 - not sure how...
Failed to build hibernate.jar - I get the output listed below -
Question - what is 'clovertasks'? I assume I'm doing something simple incorrectly here, but the documentation says untar and build the hibernate.jar file. Can someone point me in the right direction? What did I miss?
thanks very much,
nbc
================ output ==========
[root@nbc-penguin java]# cd /usr/java/
[root@nbc-penguin java]# which java
/usr/java/jdk/bin/java
[root@nbc-penguin java]# ls -l
total 36
lrwxrwxrwx 1 root root 16 2007-08-27 10:35 default -> /usr/java/latest
lrwxrwxrwx 1 root root 16 2007-06-06 19:39 jdk -> /usr/java/latest
drwxr-xr-x 9 root root 4096 2007-08-27 07:35 jdk1.5.0_12
drwxr-xr-x 9 root root 4096 2007-08-27 10:35 jdk1.6.0_02
drwxr-xr-x 7 root root 4096 2007-08-27 07:48 jre1.5.0_12
lrwxrwxrwx 1 root root 21 2007-08-27 10:35 latest -> /usr/java/jdk1.6.0_02
cd to hibernate directory...
[root@nbc-penguin Hibernate]# ant
Buildfile: build.xml
Trying to override old definition of datatype splash
Trying to override old definition of datatype junit
Trying to override old definition of datatype junitreport
[taskdef] Could not load definitions from resource clovertasks. It could not be found.
splash:
init:
[echo] Build Hibernate-3.2.5.ga (2007-10-01 08:04:09)
[echo] JDK version: 1.5 ****** Why this and not 1.6????
init.antlr:
antlr:
[mkdir] Created dir: /usr/local/hibernate-3.2/build/gensrc/org/hibernate/hql/antlr
[antlrtask] ANTLR Parser Generator Version 2.7.6 (2005-12-22) 1989-2005
[antlrtask] ANTLR Parser Generator Version 2.7.6 (2005-12-22) 1989-2005
[antlrtask] ANTLR Parser Generator Version 2.7.6 (2005-12-22) 1989-2005
[touch] Creating /usr/local/hibernate-3.2/build/gensrc/org/hibernate/hql/antlr/.antlr_run
compile:
[mkdir] Created dir: /usr/local/hibernate-3.2/build/classes
[javac] Compiling 1070 source files to /usr/local/hibernate-3.2/build/classes
[javac] /usr/local/hibernate-3.2/src/org/hibernate/jdbc/ResultSetWrapper.java:30: org.hibernate.jdbc.ResultSetWrapper is not abstract and does not override abstract method updateNClob(java.lang.String,java.io.Reader) in java.sql.ResultSet
[javac] public class ResultSetWrapper implements ResultSet {
[javac] ^
[javac] /usr/local/hibernate-3.2/src/org/hibernate/lob/BlobImpl.java:16: org.hibernate.lob.BlobImpl is not abstract and does not override abstract method getBinaryStream(long,long) in java.sql.Blob
[javac] public class BlobImpl implements Blob {
[javac] ^
[javac] /usr/local/hibernate-3.2/src/org/hibernate/lob/ClobImpl.java:18: org.hibernate.lob.ClobImpl is not abstract and does not override abstract method getCharacterStream(long,long) in java.sql.Clob
[javac] public class ClobImpl implements Clob {
[javac] ^
[javac] /usr/local/hibernate-3.2/src/org/hibernate/lob/SerializableBlob.java:13: org.hibernate.lob.SerializableBlob is not abstract and does not override abstract method getBinaryStream(long,long) in java.sql.Blob
[javac] public class SerializableBlob implements Serializable, Blob {
[javac] ^
[javac] /usr/local/hibernate-3.2/src/org/hibernate/lob/SerializableClob.java:15: org.hibernate.lob.SerializableClob is not abstract and does not override abstract method getCharacterStream(long,long) in java.sql.Clob
[javac] public class SerializableClob implements Serializable, Clob {
[javac] ^
[javac] 5 errors
BUILD FAILED
/usr/local/hibernate-3.2/build.xml:212: Compile failed; see the compiler error output for details.
|