Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 404072

Summary: Run on server on starting server will not publish if the module is changed
Product: [WebTools] WTP ServerTools Reporter: Elson Yuen <eyuen7>
Component: wst.serverAssignee: Elson Yuen <eyuen7>
Status: RESOLVED FIXED QA Contact: Elson Yuen <eyuen7>
Severity: normal    
Priority: P3 CC: dimitar.giormov, dobromir.zahariev, vladimir.pavlov
Version: 3.4.2   
Target Milestone: 3.4.2 P   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Bug Depends on: 389699    
Bug Blocks:    
Attachments:
Description Flags
v1.0 none

Description Elson Yuen CLA 2013-03-21 16:14:47 EDT
+++ This bug was initially created as a clone of Bug #389699 +++

Use slow starting server for easy reproduction of the problem.

1. Publish a module on the server and stop the server.
2. Select and index.jsp for example and trigger run on server on it.
(or trigger server start from outside the IDE)
3. Once the server is in state starting, modify the jsp and select run on server again.

Result the server will ignore the last changes and the browser will open with the old content.
Expected: Server will schedule publish job to be executed once the server reaches started state.

Code: org.eclipse.wst.server.ui.internal.actions.RunOnServerLaunchConfigurationDelegate
line 142
Comment 1 Elson Yuen CLA 2013-03-21 16:16:16 EDT
Created attachment 228882 [details]
v1.0
Comment 2 Elson Yuen CLA 2013-03-21 16:16:57 EDT
Porting changes from bug 389699 to 342P
Comment 3 Elson Yuen CLA 2013-04-02 17:35:04 EDT
Code delivered to 342P