Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » WTP wipes out files?
WTP wipes out files? [message #81056] Mon, 07 March 2005 23:36 Go to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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?]
Previous Topic:JavaScript debugging
Next Topic:bugs of Wtp 1.0M3
Goto Forum:
  


Current Time: Fri Apr 25 21:26:34 EDT 2025

Powered by FUDForum. Page generated in 0.02624 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top