-->
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: Hibernate Tools Source Code
PostPosted: Wed Jul 04, 2007 12:38 pm 
Newbie

Joined: Wed Jul 04, 2007 12:32 pm
Posts: 1
How can I download the source code of the Hibernate Tools?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 05, 2007 10:21 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 7:19 pm
Posts: 2364
Location: Brisbane, Australia
The last time I looked the online manual showed you how and provided the SVN details.


Top
 Profile  
 
 Post subject: Re: Hibernate Tools Source Code
PostPosted: Thu Oct 29, 2009 12:28 pm 
Beginner
Beginner

Joined: Tue Feb 03, 2009 4:33 pm
Posts: 21
This is, unfortunately, no longer true (at least, if you're referring to the manual located at http://docs.jboss.org/tools/2.1.0.Beta1/hibernatetools/html/).

Is there some other place I can download the source code for Hibernate Tools (specifically, I'm looking for the POJO-generation code used in the ANT <hibernatetool> task).

Thanks!


Top
 Profile  
 
 Post subject: Re: Hibernate Tools Source Code
PostPosted: Fri Oct 30, 2009 3:05 am 
Senior
Senior

Joined: Tue Aug 04, 2009 7:45 am
Posts: 124
Vitali gave link with authorization.
The link for anonimous users is:
http://anonsvn.jboss.org/repos/hibernat ... tools/src/


Top
 Profile  
 
 Post subject: Re: Hibernate Tools Source Code
PostPosted: Tue Nov 17, 2009 10:27 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
http://www.hibernate.org/Modules/HowToB ... uteToTools

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject: Re: Hibernate Tools Source Code
PostPosted: Mon Nov 23, 2009 5:07 pm 
Beginner
Beginner

Joined: Tue Feb 03, 2009 4:33 pm
Posts: 21
Brilliant! Thanks guys!


Top
 Profile  
 
 Post subject: Re: Hibernate Tools Source Code
PostPosted: Mon Mar 22, 2010 8:14 pm 
Newbie

Joined: Sat Mar 20, 2010 1:54 am
Posts: 8
roach, did you ever get anywhere creating a custom exporter? I'm trying to wrap my head this and would really appreciate any pointers or example code.


Top
 Profile  
 
 Post subject: Re: Hibernate Tools Source Code
PostPosted: Sun Jul 25, 2010 6:19 am 
Newbie

Joined: Sun Jul 25, 2010 6:11 am
Posts: 1
Here is what appears to be the current source:

http://anonsvn.jboss.org/repos/hibernat ... ernateExt/

But if I look at the version string in tool/Version.java it says 3.2.0beta8

Somehow I have a source version which is 3.2.0b9, which seems more current, but I have no idea where I got it.

Is this the correct location for the source?

Also the link: http://www.hibernate.org/Modules/HowToB ... uteToTools does not work, and googling HowToBuildAndContributeToTools does not find anything.

And on a (sort of) separate note, the hibernate tools patches associated with this bug: http://opensource.atlassian.com/project ... e/HBX-1160 are the ones to apply to have the tools work with the current version of Hibernate (3.5.4)? I assume only the most recent patch is needed. http://opensource.atlassian.com/project ... 0%29.patch.

Thanks in advance for any help.

Francis


Top
 Profile  
 
 Post subject: Re: Hibernate Tools Source Code
PostPosted: Tue Sep 14, 2010 1:18 pm 
Senior
Senior

Joined: Fri May 08, 2009 12:27 pm
Posts: 168
Seems like http://anonsvn.jboss.org/repos/hibernate/tools/ is outdated now. Browsing there gives me a repository with no tags, no branches, and a ./trunk/version.xml that says <property name="version" value="3.3.0.GA"/>.

Eclipse tells me I have 3.3.1.v20100611046R-H111-GA installed.
I'd like to retrieve that version from the repository if at all possible. I'm trying to diagnose/work around some odd behaviour in reverse engineering, and mismatches between sources and installed binary would do me no good for that.

UPDATE: I also found http://anonsvn.jboss.org/repos/jbosstools/trunk/hibernatetools, but the revision of Hibernate Tools that was rolled out to the Eclipse repository never made it into SVN. (I checked org.jboss.tools.hibernate.ui\META-INF: the SVN history goes from 3.3.0 straight to 3.4.0, skipping the 3.3.1 that's in the rolled-out revision.)
I guess the version I'm after is somewhere in that revision history. The problem is that I don't know how best to pinpoint it, other than checking out all revisions around 2010-06-01 and comparing them with what's in the Eclipse plugin jars (which will give an incomplete comparison anyway since I don't have the Java sources in the plugin, which, ironically, are exactly what I'm after).


Top
 Profile  
 
 Post subject: Re: Hibernate Tools Source Code
PostPosted: Thu Sep 16, 2010 10:40 am 
Senior
Senior

Joined: Fri May 08, 2009 12:27 pm
Posts: 168
This sounds as if I'm getting the sources for 3.4.0.M1.

I need the sources for the stable version I'm running.
It identifies itself as 3.3.1.v20100611046R-H111-GA in the list of Eclipse plugins.
Note that in the generated Pojos, it identifies itself as "3.3.0.GA". (org.hibernate.tool.Version#getVersion() in hibernate-tools.jar returns the exactly same text.)

Now how do I found out what version is actually running here?
Can't identify the correct sources unless I know the correction version number after all...


Top
 Profile  
 
 Post subject: Re: Hibernate Tools Source Code
PostPosted: Fri Sep 17, 2010 11:10 am 
Senior
Senior

Joined: Fri May 08, 2009 12:27 pm
Posts: 168
Ah okay, thanks.

Is 3.4.0.M1 what's built into the 3.3.1 Eclipse plugin?
Because it claims to be version 3.3.0.GA in generated Pojo code.


Top
 Profile  
 
 Post subject: Re: Hibernate Tools Source Code
PostPosted: Mon Sep 20, 2010 5:03 am 
Senior
Senior

Joined: Fri May 08, 2009 12:27 pm
Posts: 168
vyemialyanchyk wrote:
I didn't state what 3.4.0.M1 is build into 3.3.1 Hibernate Tools for Eclipse.


You didn't but that was what I was asking for.

vyemialyanchyk wrote:
M1 - means some intermediate version,
Hibernate Tools for Eclipse use only GA releases.


I was assuming so.
Thanks for the confirmation though, that's taking out one source of potential confusion.

vyemialyanchyk wrote:
unfortunately there is no special branch for 3.3.0.GA - i.e. 3.3.0.GA real place is here:
https://svn.jboss.org/repos/hibernate/b ... ernateExt/


Thanks, I'm retrieving the data off that (and hope there haven't been too many commits after the 3.3.0.GA release).
It would be nice to know which SVN revision exactly went into 3.3.0.GA, but I guess I'm out of luck with that :-(

Anyway, thanks for your patience and effort.


Top
 Profile  
 
 Post subject: Re: Hibernate Tools Source Code
PostPosted: Mon Sep 20, 2010 8:26 am 
Senior
Senior

Joined: Fri May 08, 2009 12:27 pm
Posts: 168
Note that the sources for Hibernate Tools are on https://anonsvn.jboss.org/repos/hiberna ... Branch_3_2 .
The URL given referred to Hibernate Extension, which weren't what was asked for (but may be useful for somebody else).

vyemialyanchyk, would it be possible to set up a page somewhere that has the various URLs in one place? (E.g. behind "Downloads" on http://www.hibernate.org/subprojects/tools.html.)

Consider the speed-up: a few minutes finding and using the download URL, instead of almost a week from first forum question to the point where I can finally establish what URL is the correct one.


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.