-->
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: Eclipse Helios Hibernate Tools and hibernate.cfg.xml
PostPosted: Mon Feb 21, 2011 11:49 am 
Newbie

Joined: Mon Feb 21, 2011 11:35 am
Posts: 2
On Helios, I used the "Hibernate Code Generation" and it works well generating the appropriate classes and the file "hibernate.cfg.xml".

I followed with a webservice, say "HelloWorld" using "Web Services->Create Web Service" and when done, I notice that "hibernate.cfg.xml" is copied to

1. "WebContent->WEB-INF->services->HelloWorld" and also to
2. "build->classes".

From my testing I know that the one copied to 1. is not needed. Only the copy under "build->classes" is needed. Besides manually deleting the unwanted file, is there a way to configure the tool to prevent this file from being copied to 1?

Thanks.


Top
 Profile  
 
 Post subject: Re: Eclipse Helios Hibernate Tools and hibernate.cfg.xml
PostPosted: Mon Feb 21, 2011 12:08 pm 
Senior
Senior

Joined: Tue Aug 04, 2009 7:45 am
Posts: 124
I guess your web project builder does this, but not hibernate tools plugins. Put any other file near the hibernate.cfg.xml and check if it also copied.


Top
 Profile  
 
 Post subject: Re: Eclipse Helios Hibernate Tools and hibernate.cfg.xml
PostPosted: Mon Feb 21, 2011 12:10 pm 
Newbie

Joined: Mon Feb 21, 2011 11:35 am
Posts: 2
Yes, they get copied too. I guess it is a Eclipse issue. Maybe wrong forum. Sorry. Maybe someone can help.


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.