WTP wipes out files? [message #81056] |
Mon, 07 March 2005 23:36  |
Eclipse User |
|
|
|
Originally posted by: werner.sonoma.edu
I've been using Hibernate for some of my work, and it requires that I put
certain files under /WEB-INF/classes.
This is fine, but if I restart my computer or (sometimes) Eclipse, the
files are erased! I've noticed that anything under WEB-INF that isn't a
jar or a certain pattern of files get wiped out! These are just xml config
files I am placing there, but I have to regenerate them each time.
Any suggestions on why this happens? I ran Tomcat5 seperately and couldn't
duplicate this without WTP involved.
- Nic
|
|
|
Re: WTP wipes out files? [message #81099 is a reply to message #81056] |
Mon, 07 March 2005 23:41   |
Eclipse User |
|
|
|
On Tue, 8 Mar 2005 04:36:48 +0000 (UTC), Nic Werner <werner@sonoma.edu> wrote:
> I've been using Hibernate for some of my work, and it requires that I put
> certain files under /WEB-INF/classes.
>
> This is fine, but if I restart my computer or (sometimes) Eclipse, the
> files are erased! I've noticed that anything under WEB-INF that isn't a
> jar or a certain pattern of files get wiped out! These are just xml config
> files I am placing there, but I have to regenerate them each time.
>
> Any suggestions on why this happens? I ran Tomcat5 seperately and couldn't
> duplicate this without WTP involved.
>
> - Nic
>
Somewhere, in Java Preferences, there's a preference to "clear bin directories when rebuilding" (or similar).
You may have to make sure that's off in your case. [And, I'm just guessing on one possible cause, there could
be others?]
|
|
|
Re: WTP wipes out files? [message #81259 is a reply to message #81099] |
Tue, 08 March 2005 09:57  |
Eclipse User |
|
|
|
put hibernate conf file inside /src or equivalent, this will copy it to
/WEB-INF/classes.
Emerson
"David Williams" <david_williams@us.ibm.com> escreveu na mensagem
news:opsnaxzqzoac05ss@news.eclipse.org...
> On Tue, 8 Mar 2005 04:36:48 +0000 (UTC), Nic Werner <werner@sonoma.edu>
wrote:
>
> > I've been using Hibernate for some of my work, and it requires that I
put
> > certain files under /WEB-INF/classes.
> >
> > This is fine, but if I restart my computer or (sometimes) Eclipse, the
> > files are erased! I've noticed that anything under WEB-INF that isn't a
> > jar or a certain pattern of files get wiped out! These are just xml
config
> > files I am placing there, but I have to regenerate them each time.
> >
> > Any suggestions on why this happens? I ran Tomcat5 seperately and
couldn't
> > duplicate this without WTP involved.
> >
> > - Nic
> >
>
> Somewhere, in Java Preferences, there's a preference to "clear bin
directories when rebuilding" (or similar).
> You may have to make sure that's off in your case. [And, I'm just guessing
on one possible cause, there could
> be others?]
|
|
|
Powered by
FUDForum. Page generated in 0.02624 seconds