Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » When do deployed classes get deleted?(When do deployed classes get deleted?)
When do deployed classes get deleted? [message #757084] Wed, 16 November 2011 12:32 Go to next message
Breako Missing name is currently offline Breako Missing nameFriend
Messages: 13
Registered: November 2011
Junior Member
Hi,
I am noticing something a bit weird with a WTP project.

Web Projects get deployed to

%WORKSPACE_HOME%\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps

If you navigate there you see the exploded war.

I am noticing a problem where classes get deleted from the \WEB-INF\classes?

I am wondering when does eclipse make the decision to delete classes from this directory?

Thanks.
Re: When do deployed classes get deleted? [message #757913 is a reply to message #757084] Wed, 16 November 2011 13:58 Go to previous message
Larry Isaacs is currently offline Larry IsaacsFriend
Messages: 1313
Registered: July 2009
Senior Member
On 11/16/2011 7:32 AM, Breako wrote:
> Hi,
> I am noticing something a bit weird with a WTP project.
>
> Web Projects get deployed to
> %WORKSPACE_HOME%\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps
>
>
> If you navigate there you see the exploded war.
>
> I am noticing a problem where classes get deleted from the
> \WEB-INF\classes?
>
> I am wondering when does eclipse make the decision to delete classes
> from this directory?
>
> Thanks.
>

Publishing tries to synchronize the "exploded war" under wtpwebapps with
what is in your project. A file under "WEB-INF/classes" should only get
deleted if that file doesn't exist in your project, permanently or
temporarily.

Cheers,
Larry
Previous Topic:Adding XML Catalog contributions programmatically
Next Topic:Seeing the last modified time in an explorer view?
Goto Forum:
  


Current Time: Sun Dec 21 13:41:28 GMT 2014

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

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