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 37865 - superfluous class+method in plugins SPI
Summary: superfluous class+method in plugins SPI
Status: RESOLVED WONTFIX
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Infrastructure (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: Nam Nguyen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-08 20:52 UTC by Pavel Buzek
Modified: 2006-06-05 00:39 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 Pavel Buzek 2003-12-08 20:52:55 UTC
It is not clear what is the benefit of the having
the confugration files copyied by the j2eeserver
module. It looks like the j2eeserver asks for file
names
(FileDeploymentLayout.getDeploymentPlanFilenames)
and then asks the module to save the data into
these files (DeploymentPlanSplitter). The only
reason for this seems to be that j2eeserver wants
to know the file names to check the timestamps and
tell the plugin if they have changed (in
IncrementalDeployment.incrementalDeploy). Since
the code that compares timestamps is trivial I
suggest that we delete the
FileDeploymentLayout.getDeploymentPlanFilenames
and DeploymentPlanSplitter and specify in
InrementalDeployment that the module needs to save
the configuration file (if needed), that it should
check timestamps of files and that it needs to
take appropriate action based on if they have changed.
Comment 1 Pavel Buzek 2004-01-13 17:42:08 UTC
this has been clarified