Author: dgolovin
Date: 2007-12-19 19:20:58 -0500 (Wed, 19 Dec 2007)
New Revision: 5393
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/server/RegistrationHelper.java
Log:
Rollback last commit
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/server/RegistrationHelper.java
===================================================================
---
trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/server/RegistrationHelper.java 2007-12-20
00:17:11 UTC (rev 5392)
+++
trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/server/RegistrationHelper.java 2007-12-20
00:20:58 UTC (rev 5393)
@@ -195,22 +195,9 @@
runRegisterInServerJob(p, new IServer[]{server}, null);
}
- public static void runRegisterInServerJob(final IProject p, final IServer[] servers,
final String contextRoot) {
- Job startRegistration = new Job("Starting deployment to server") {
- /* (non-Javadoc)
- * @see
org.eclipse.core.runtime.jobs.Job#run(org.eclipse.core.runtime.IProgressMonitor)
- */
- @Override
- protected IStatus run(IProgressMonitor monitor) {
- RegisterServerJob job = new RegisterServerJob(p, servers, contextRoot);
- job.schedule(100);
- return Status.OK_STATUS;
- }
- };
- startRegistration.setUser(true);
- startRegistration.setRule(p);
- startRegistration.setPriority(Job.DECORATE);
- startRegistration.schedule();
+ public static void runRegisterInServerJob(IProject p, IServer[] servers, String
contextRoot) {
+ RegisterServerJob job = new RegisterServerJob(p, servers, contextRoot);
+ job.schedule(100);
}
// registerInJob
Show replies by date