-->
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.  [ 5 posts ] 
Author Message
 Post subject: Building Hibernate3 + annotations
PostPosted: Sun Feb 27, 2005 2:49 pm 
Senior
Senior

Joined: Tue Mar 02, 2004 6:17 pm
Posts: 151
Hi,

Has anyone gotten the latest Hibernate3 + annotations to build properly? I got hibernate3 to build but HibernateExt's build dies after a few seconds with "Could not find ${jdk15.home}. jdk15.home must point to a JDK 1.5 directory".

I tried setting this variable and playing around with build.properties but it did not help. Did anyone know how to fix this?

Also, I'm still trying to understand whether next week's Hibernate3 release will contain annotation support or if the two will remain separate releases. I'm trying to get *any* recent version of Hibernate3 to work with the annotations. Any advice you could offer would be most welcome.

Thank you,
Gili


Top
 Profile  
 
 Post subject:
PostPosted: Sun Feb 27, 2005 7:18 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
just put a build.properties in common with jdk15.home=<path to jdk>

and it should work.

I will assume metadata will be a separate download.

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Sun Feb 27, 2005 11:00 pm 
Senior
Senior

Joined: Tue Mar 02, 2004 6:17 pm
Posts: 151
max wrote:
just put a build.properties in common with jdk15.home=<path to jdk>

and it should work.

I will assume metadata will be a separate download.


I don't know if this is some sort of bug in Ant under WinXP but <available file="<path to JDK>" type="dir"> *always* fails even if the path exists. I tried varying filename casing, slashes, paths with or without spaces, etc but it always fails. I take that same path that Ant claims does not exist, copy/paste it and it opens up properly in explorer or in "dir".

Does this sound familiar to anyone?

Gili


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 28, 2005 12:48 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
remember its an java properties file so you need to escape stuff like \ and whitespaces

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 28, 2005 1:30 am 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
It does work on my XP box.
Annotations are a separate package from the hibernate core and a new product, it'll need more time to get final.

_________________
Emmanuel


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