-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
 Post subject: Unable to build Hibernate Tool 3 from cvs
PostPosted: Tue Aug 02, 2005 10:17 am 
Beginner
Beginner

Joined: Wed Sep 10, 2003 5:32 pm
Posts: 28
To whom it may concern,

I have followed the instructions at Hibernate Tool web site on how to build tool from cvs. I have trouble with JDK1.5 portion. I have already put a build.properties file into HibernateExt/ejb-api directory but I am still getting compiler error. The error is invalid target release: 1.5. I echo out my ant.java.version is 1.4 and my JAVA_HOME is 1.4 because that's the version of java I am using. I have downloaded Java 1.5 jdk. I have set jdk15.home in my build.properties file and I have echo out the variable and is set to the right directory. According to the web site, it mentioned the following:


Some of HibernateExt modules depends on jdk 1.5 features so we need to tell the build system where your jdk 1.5 installation is located. Note: it is only annotations that are dependent on jdk 1.5., the rest works fine with jdk 1.4. Put a build.properties file into the HibernateExt/ejb-api and HibernateExt/metadata directory (remember to change the actual path to something relevant for your system):


I followed the instructions but I am still getting compiler error. Could someone give me some ideas? thanks.

Vivian


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 02, 2005 12:06 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
sorry - recent changes have made some parts of the build dependent on jdk 1.5 :(

Easiest work around is simply to do the build with jdk 1.5 until I (or someone else) fixes the jdk 1.5 build dependency.

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 02, 2005 12:42 pm 
Beginner
Beginner

Joined: Wed Sep 10, 2003 5:32 pm
Posts: 28
Hi Max,

Thanks for the quick reply:)

I figured it out after I posted...:) I reverse about 3 build files change so they will still depend on build.properties. I can build hibernate tool with JDK1.4 and uses 1.5 when necessary.

Thanks

Vivian


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.