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.
|