jruaux      2003/01/13 05:38:53

  Modified:    Eclipse-Plugin/src/java/org/apache/cactus/eclipse/containers/ant
                        GenericAntProvider.java
  Log:
  Added progress dialog contribution
  
  Revision  Changes    Path
  1.6       +5 -6      
jakarta-cactus/Eclipse-Plugin/src/java/org/apache/cactus/eclipse/containers/ant/GenericAntProvider.java
  
  Index: GenericAntProvider.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-cactus/Eclipse-Plugin/src/java/org/apache/cactus/eclipse/containers/ant/GenericAntProvider.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- GenericAntProvider.java   10 Jan 2003 17:52:09 -0000      1.5
  +++ GenericAntProvider.java   13 Jan 2003 13:38:53 -0000      1.6
  @@ -145,7 +145,7 @@
       public void start(ContainerInfo theContainerInfo, IProgressMonitor thePM)
           throws CoreException
       {
  -        thePM.subTask("Starting container");
  +        thePM.subTask("Starting the container");
           String[] targets = getMasked("start.");
           AntRunner runner = createAntRunner(targets);
           StartServerHelper startHelper = new StartServerHelper(runner);
  @@ -174,6 +174,7 @@
           startHelper.setTestURL(testURL);
           startHelper.setProgressMonitor(thePM);
           startHelper.execute();
  +        thePM.done();
       }
   
       /**
  @@ -193,7 +194,7 @@
           antArguments.add("-Dcontext.path=" + theContextPath);
           String[] targets = getMasked("prepare.");
           createAntRunner(targets).run(thePM);
  -
  +        thePM.done();
       }
   
       /**
  @@ -205,9 +206,8 @@
           IProgressMonitor thePM)
           throws CoreException
       {
  -        thePM.subTask("Undeploying the container");
           String[] targets = { "clean" };
  -        createAntRunner(targets).run();
  +        createAntRunner(targets).run(/*thePM*/);
       }
   
       /**
  @@ -216,9 +216,8 @@
       public void stop(ContainerInfo theContainerInfo, IProgressMonitor thePM)
           throws CoreException
       {
  -        thePM.subTask("Stopping the container");
           String[] targets = getMasked("stop.");
  -        createAntRunner(targets).run(thePM);
  +        createAntRunner(targets).run(/*thePM*/);
       }
   
       /**
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to