-->
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.  [ 14 posts ] 
Author Message
 Post subject: org.hibernate.hql.antlr.SqlTokenTypes ?
PostPosted: Thu Jul 14, 2005 4:36 pm 
Newbie

Joined: Mon Mar 29, 2004 1:08 pm
Posts: 10
Hibernate version: Hibernate3.0

I'm attempting to compile Hibernate source for version 3.0

The class org.hibernate.hql.ast
imports

org.hibernate.hql.antlr.SqlTokenTypes

but this class is not in the source code (within hibernate3.jar)

Where is it located?

Thanks

Charlie Kelly


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 15, 2005 6:38 am 
Expert
Expert

Joined: Sat Jun 12, 2004 4:49 pm
Posts: 915
It is in build/gensrc in main tree (where you build) - ant tools doesn't move this classes in source automatic


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jul 20, 2005 6:35 am 
Newbie

Joined: Tue Jul 12, 2005 4:00 am
Posts: 4
Location: India
snpesnpe wrote:
It is in build/gensrc in main tree (where you build) - ant tools doesn't move this classes in source automatic


>> I could not find this "build/gensrc "...? where does it lie in the hibernate-3.0.5.zip ?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jul 20, 2005 12:37 pm 
Expert
Expert

Joined: Sat Jun 12, 2004 4:49 pm
Posts: 915
You can download from cvs - for 3.0.5 is version v305

This is bug in ant build - I have to every time move build/gensrc u src
I build hibernate from cvs

regards


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 21, 2005 5:09 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
you dont have to move anything to have the ant build from cvs work.

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 21, 2005 7:37 am 
Expert
Expert

Joined: Sat Jun 12, 2004 4:49 pm
Posts: 915
Max,
cvs build work, but build don't move source classes from build/gensrc (antlr classes)
For example, I have cvs in Hibernate3 dir and build make directory hibernate-3.1 (now)
hibernate3.jar is correct (binaries), but src file in hibernate-3.1 haven't antlr classes (like SqlTokenTypes) - this classes are in Hibernate3/build/gensrc - I make eclipse project with hibernate-3.1 and move antlr classes from Hibernate3

regards


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 21, 2005 7:39 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
when i build in eclipse directly from cvs i just add build/gensrc to the classpath and it works fine - they should not be moved to /src - only when actually built into a distribution.

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 21, 2005 8:14 am 
Expert
Expert

Joined: Sat Jun 12, 2004 4:49 pm
Posts: 915
in my example hibernate-3.1 is build tree - build/gensrc is in Hibernate3 (base src) and is'nt in build tree - antlr classes doesn't exists in build tree
build make .tar.gz and .zip files, too - antlr classes exists in this files for current cvs 9I don't know for 3.0)

Thanks


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 21, 2005 8:17 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
why would you use the resulting build tree in eclipse ? why not use the cvs src's ?

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 21, 2005 8:25 am 
Expert
Expert

Joined: Sat Jun 12, 2004 4:49 pm
Posts: 915
I have clean cvs and build in another directory - it isn't for hibernate only than for all my cvs's
It is because I change original application, sometimes and I want original cvs

regards


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jul 25, 2005 1:21 am 
Newbie

Joined: Tue Jul 12, 2005 4:00 am
Posts: 4
Location: India
When Idownload Hibernate3 through CVS, I did not get any folder named "Hibernate3/build"...?

Please help.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jul 25, 2005 4:19 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
run ant antlr

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 29, 2005 5:00 am 
Newbie

Joined: Tue Jul 12, 2005 4:00 am
Posts: 4
Location: India
Thanks max, it worked.

I don't know how to rate, I am not getting the link...!!!


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 29, 2005 5:01 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
you can only rate on topics you started

_________________
Max
Don't forget to rate


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