This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 38647 - Incremental deploymet problem - deleted objects remains deployed.
Summary: Incremental deploymet problem - deleted objects remains deployed.
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Infrastructure (show other bugs)
Version: 3.x
Hardware: PC All
: P3 blocker (vote)
Assignee: Nam Nguyen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-12 15:07 UTC by Marek Fukala
Modified: 2004-08-13 12:11 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marek Fukala 2004-01-12 15:07:03 UTC
[20040111]
When you deploy a webmodule containing JSPs,
Servlets and other resources and then delete some
of them in the IDE and redeploy the WM, the
deleted resources remains deployed.
Comment 1 Pavel Buzek 2004-01-12 15:29:11 UTC
this is more likely to be caused by a problem in j2eeserver then web
module, I'll take a look at this
Comment 2 Marek Fukala 2004-01-12 15:31:24 UTC
I was not sure about that so thank you for evaluating that.
Comment 3 Marek Fukala 2004-01-28 18:27:09 UTC
Just a note: This is no longer problem of tomcat deployment since the
semantic has been changed. The deployed webmodule is not copied in a
form of a war file to the server. Instead of that, the Context element
in the tomcat's context definition file contains docBase property,
which points in the webmodule directory directly.
Comment 4 Nam Nguyen 2004-02-23 01:41:01 UTC
So this is still problem for file-copy incremental deployment unless
we do cleanup at the target of the copying.  The code for clean up is
disable pending new API's because there are files put in the
destination directory by the plugin or appserver.  This is on my
deployment loosends which must be solved in promoD.
Comment 5 Nam Nguyen 2004-03-05 23:49:51 UTC
Only affect plugins with file-copy incremental deploy, none so far. 
To be reevaluated or resolved in promo-D.
Comment 6 Nam Nguyen 2004-03-30 00:45:43 UTC
With 4.0 CDP buildsystem, incremental deploy is still kind of in-place
deployment with build output (or staging) area as the in-place
directory.  So removal a jsp or servlet should be reflected by change
in descriptor and causing app reload.  Only removal of a regular java
class would not be detected, but this should not cause any problem in
execution of the app.

I am closing this bug as fixed.