-->
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.  [ 3 posts ] 
Author Message
 Post subject: Ant task to generate hibernate.cfg.xml from annotations
PostPosted: Sun May 15, 2005 4:50 pm 
Newbie

Joined: Sat Nov 15, 2003 12:24 pm
Posts: 4
As someone else reported, it would be handy to have an ant task which adds all the mapping entries for all annotated classes to hibernate.cfg.xml. While it's not easy to determine all the classes annotated with Entity at runtime, it looks like it should be possible to build something to do this by using the APT tool that comes with the JDK 5. Is anyone already working on something like this? Does this seem like a reasonable approach? If I get something done, what's the appropriate way to contribute it?

Thanks,

Chris


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 15, 2005 5:12 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
through jira

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 15, 2005 5:13 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
and please integrate it into the existing ant toolset.

_________________
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.  [ 3 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.