jruaux 2003/01/15 01:17:32
Modified: Eclipse-Plugin/src/java/org/apache/cactus/eclipse/containers/ant
StartServerHelper.java
Log:
Improved UI (ProgressMonitor)
Revision Changes Path
1.6 +3 -4
jakarta-cactus/Eclipse-Plugin/src/java/org/apache/cactus/eclipse/containers/ant/StartServerHelper.java
Index: StartServerHelper.java
===================================================================
RCS file:
/home/cvs/jakarta-cactus/Eclipse-Plugin/src/java/org/apache/cactus/eclipse/containers/ant/StartServerHelper.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- StartServerHelper.java 13 Jan 2003 13:48:43 -0000 1.5
+++ StartServerHelper.java 15 Jan 2003 09:17:32 -0000 1.6
@@ -152,13 +152,12 @@
Thread thread = new Thread(this);
thread.start();
- // UI contribution, the number is relative to the task which
- // total is 10
- pm.worked(1);
// Wait a few ms more (just to make sure the servlet engine is
// ready to accept connections)
sleep(1000);
- pm.worked(2);
+ // UI contribution, the number is relative to the task which
+ // total is 4
+ pm.worked(1);
// Continuously try calling the test URL until it succeeds
while (true)
{
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>