| Summary: | Adding / Removing modules from server on project deletion should be a workspace change participant | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [WebTools] WTP Java EE Tools | Reporter: | Rob Stryker <stryker> | ||||
| Component: | jst.j2ee | Assignee: | Rob Stryker <stryker> | ||||
| Status: | RESOLVED FIXED | QA Contact: | Chuck Bridgham <cbridgha> | ||||
| Severity: | enhancement | ||||||
| Priority: | P3 | CC: | ccc | ||||
| Version: | 3.2 | Flags: | cbridgha:
review+
|
||||
| Target Milestone: | 3.3 | ||||||
| Hardware: | PC | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Rob Stryker
clearly an enhancement ;) Assigning to Rob for initial work. I set the target milestone to Future so we will see it when we review plan items for the next WTP release. Please retarget as appropriate. Created attachment 182831 [details]
Changes deletion to a delete participant, keeps rename behaviour same
Carl and Chuck might want to take a peek
Adding reviewers I say get this in Rob... but make sure Angel and other Server tools folks are aware I've just re-tested hte patch and it works and can be committed, but as always there's a note ;) The generic server framework ignores publish requests if the module's project is inaccessible. During the workspace change participants, the project is not accessible and doesn't even really exist. There should be no *real* change in behaviour though, because just as before, a call to publish will revert to the previous behaviour, publishing and passing in a DeletedModule. However for server adapters that do not need to ignore publish requests to closed projects, the MODULE here still exists properly and can be cast into its delegate class... so... thats cool. Either way, if your adapter supports it, this works great. If your adapter doesn't support it, your adapter behaves the same as it did before with no change. This has been committed and released to head |