Created
August 12, 2013 07:35
-
-
Save fbricon/6208849 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| for(Map.Entry<IServer, List<IModule>> entries : republishableServers.entrySet()) { | |
| IServer server = entries.getKey(); | |
| if (server instanceof Server) { | |
| List<IModule> modules = entries.getValue(); | |
| IModule[] mod = new IModule[modules.size()]; | |
| modules.toArray(mod); | |
| ((Server)server).setModulePublishState(mod, IServer.PUBLISH_STATE_INCREMENTAL); | |
| } | |
| //if (isEnabled && server.getServerState() == IServer.STATE_STARTED) { | |
| //server.publish(IServer.PUBLISH_INCREMENTAL, new NullProgressMonitor()); | |
| //} | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment