Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 228882 Details for
Bug 404072
Run on server on starting server will not publish if the module is changed
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
v1.0
file_404072.txt (text/plain), 1.49 KB, created by
Elson Yuen
on 2013-03-21 16:16:16 EDT
(
hide
)
Description:
v1.0
Filename:
MIME Type:
Creator:
Elson Yuen
Created:
2013-03-21 16:16:16 EDT
Size:
1.49 KB
patch
obsolete
>diff --git a/plugins/org.eclipse.wst.server.ui/serverui/org/eclipse/wst/server/ui/internal/actions/RunOnServerLaunchConfigurationDelegate.java b/plugins/org.eclipse.wst.server.ui/serverui/org/eclipse/wst/server/ui/internal/actions/RunOnServerLaunchConfigurationDelegate.java >index 76f8228..18ad553 100644 >--- a/plugins/org.eclipse.wst.server.ui/serverui/org/eclipse/wst/server/ui/internal/actions/RunOnServerLaunchConfigurationDelegate.java >+++ b/plugins/org.eclipse.wst.server.ui/serverui/org/eclipse/wst/server/ui/internal/actions/RunOnServerLaunchConfigurationDelegate.java >@@ -140,8 +140,19 @@ > IModule[] modules = new IModule[] { module }; // TODO: get parent hierarchy correct > int state = server.getServerState(); > if (state == IServer.STATE_STARTING) { >- LaunchClientJob clientJob = new LaunchClientJob(server, modules, launchMode, moduleArtifact, launchableAdapter, client); >- clientJob.schedule(); >+ final LaunchClientJob clientJob = new LaunchClientJob(server, modules, launchMode, moduleArtifact, launchableAdapter, client); >+ final IServer server2 = server; >+ if (server2.shouldPublish()) { >+ server2.publish(IServer.PUBLISH_INCREMENTAL, null, info, new IServer.IOperationListener() { >+ public void done(IStatus result) { >+ if (result.isOK()){ >+ clientJob.schedule(); >+ } >+ } >+ }); >+ }else{ >+ clientJob.schedule(); >+ } > } else if (state == IServer.STATE_STARTED) { > boolean restart = false; > String mode = server.getMode();
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 404072
: 228882