-->
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.  [ 4 posts ] 
Author Message
 Post subject: Building hibernate3
PostPosted: Tue Feb 08, 2005 11:23 pm 
Newbie

Joined: Tue Feb 08, 2005 11:05 pm
Posts: 7
I am trying to build the hibernate3.jar against version 1.3.1 of the JDK. When I do I get the error:


Code:
   [mkdir] Created dir: C:\hibernate\v3.0beta3\build\gensrc\org\hibernate\hql\antlr
[antlrtask] java.lang.NoClassDefFoundError: antlr/Tool
[antlrtask] Exception in thread "main"
BUILD FAILED: C:\hibernate\v3.0beta3\build.xml:161: ANTLR returned: 1



Despite the fact that the hibernate build.xml file shows up in my Eclipse editor without error (meaning it can locate the class successfully). I'm not sure what I'm doing wrong.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 08, 2005 11:27 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 3:00 pm
Posts: 1816
Location: Austin, TX
it needs to be on the classpath used to launch ant. Typically, IDEs have the ability to specify these additional jars in the build script configuration I don't use eclipse, so no idea ;) how you need to do it in there


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 29, 2005 6:15 pm 
Newbie

Joined: Wed Jun 29, 2005 6:09 pm
Posts: 3
Download antlr from http://www.antlr.org/, and the jar file to your CLASSPATH, and you should be all set

Cheers


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 29, 2005 6:16 pm 
Newbie

Joined: Wed Jun 29, 2005 6:09 pm
Posts: 3
Download antlr from http://www.antlr.org/, add the jar file to your CLASSPATH, and you should be all set

Cheers


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 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.