-->
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.  [ 13 posts ] 
Author Message
 Post subject: suggestion - include source for hibernate, tools in plugin
PostPosted: Sun Dec 11, 2005 7:58 pm 
Expert
Expert

Joined: Sat Jun 12, 2004 4:49 pm
Posts: 915
Max,
Can you include source for hibernate, tools and annotations in plugin, please (maybe in cvs only)
we can debug in eclipse easier

Thanks


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 12, 2005 2:42 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
for the non-plugin stuff ? Why don't you just setup a source lookup path.

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 12, 2005 8:27 am 
Expert
Expert

Joined: Sat Jun 12, 2004 4:49 pm
Posts: 915
it doesn't work - tools haven't correct line number (maybe because i don't set same version)

i have to compile hibernate (because antlr stuff is generated)

I set hibernate and hibernate tools project in eclipse and include source lookup path and it isn't good for hibernate-tools part

I delete hibernate-tools.jar from org.hibernate.eclipse and add completet tools tree in source for thsi plugin and it work fine then, but it is to much work for every cvs changes

I think that you add source jar for hibernate stuff (hibernate3.jar, hibernate-annotations.jar,
ejb3-persistence.jar and hibernate-tools.jar) - then i'm sure that source have correct version

Thanks


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 12, 2005 9:25 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
You never need to compile hibernate - antlr stuff is already there.

And including the src for all external projects just for this I find kinda unneccessary since the src is already available within these projects too.

Its hard enough now to keep the libs in sync - also syncing source will be a pain.

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 12, 2005 9:39 am 
Expert
Expert

Joined: Sat Jun 12, 2004 4:49 pm
Posts: 915
Max,
I want include hibernate source and compltete hibernate source exists after compiling

I do next for hibernate

- download cvs tree (HEAD)
- call ant dist and i have hibernate-3.1 directory with complete hibernate, but in src directory doesn't exists antlr generated stuff and i move it from Hibernate3/build/gensrc
then i have complete hibernate source

for tools (or others HibernateExt) 'ant dist' is enough, but tools directory isn't in sync with hibernate-tools.jar in eclipse plugins and i debug in eclipse plugin with 4-5 lines offset

never mind, i can use it

Thanks


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 12, 2005 9:44 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
then go fetch the proper tag from cvs - then it will match.

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 12, 2005 11:12 am 
Expert
Expert

Joined: Sat Jun 12, 2004 4:49 pm
Posts: 915
Quote:
then go fetch the proper tag from cvs - then it will match.


i download tools and plugins from same location - same tag and it doesn't match (sometime)

Thanks


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 12, 2005 11:28 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
then you didnt use the proper tag .... and please remember we only tag for releases - not any nightly build in between.

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 12, 2005 12:31 pm 
Expert
Expert

Joined: Sat Jun 12, 2004 4:49 pm
Posts: 915
i do simple
cvs co HibernateExt

and it load metadata,ejb3, tools and eclipse plugins - i don't use tag


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 12, 2005 2:22 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
so that clearly shows why the code is out of sync...

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 12, 2005 4:06 pm 
Expert
Expert

Joined: Sat Jun 12, 2004 4:49 pm
Posts: 915
Quote:
so that clearly shows why the code is out of sync...


and what i can do if i want play with last your code


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 12, 2005 4:17 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
you check out everything from cvs and it will be uptodate - sometimes hibernate-tools.jar might be few days/hours old so do a compile of hibernate-tools and put it in the eclipse plugin (or simply just follow the Buld & Contribute guide on tools.hibernate.org)

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 12, 2005 4:37 pm 
Expert
Expert

Joined: Sat Jun 12, 2004 4:49 pm
Posts: 915
fine, i will compile tools in future

Thanks


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