jruaux      2003/01/10 09:52:09

  Modified:    Eclipse-Plugin/src/java/org/apache/cactus/eclipse/launcher
                        WarBuilder.java
               Eclipse-Plugin/src/java/org/apache/cactus/eclipse/containers/ant
                        GenericAntProvider.java
  Log:
  Added progress monitor capability
  
  Revision  Changes    Path
  1.9       +1 -0      
jakarta-cactus/Eclipse-Plugin/src/java/org/apache/cactus/eclipse/launcher/WarBuilder.java
  
  Index: WarBuilder.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-cactus/Eclipse-Plugin/src/java/org/apache/cactus/eclipse/launcher/WarBuilder.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- WarBuilder.java   10 Jan 2003 17:28:20 -0000      1.8
  +++ WarBuilder.java   10 Jan 2003 17:52:09 -0000      1.9
  @@ -162,6 +162,7 @@
        */
       public File createWar(IProgressMonitor thePM) throws CoreException
       {
  +        thePM.subTask("Packaging the WAR file");
           File testWar = null;
           try
           {
  
  
  
  1.5       +4 -0      
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.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- GenericAntProvider.java   10 Jan 2003 17:28:00 -0000      1.4
  +++ GenericAntProvider.java   10 Jan 2003 17:52:09 -0000      1.5
  @@ -145,6 +145,7 @@
       public void start(ContainerInfo theContainerInfo, IProgressMonitor thePM)
           throws CoreException
       {
  +        thePM.subTask("Starting container");
           String[] targets = getMasked("start.");
           AntRunner runner = createAntRunner(targets);
           StartServerHelper startHelper = new StartServerHelper(runner);
  @@ -185,6 +186,7 @@
           IProgressMonitor thePM)
           throws CoreException
       {
  +        thePM.subTask("Deploying the container");
           contextPath = theContextPath;
           String warPath = theDeployableObject.getPath();
           antArguments.add("-Dwar.path=" + warPath);
  @@ -203,6 +205,7 @@
           IProgressMonitor thePM)
           throws CoreException
       {
  +        thePM.subTask("Undeploying the container");
           String[] targets = { "clean" };
           createAntRunner(targets).run();
       }
  @@ -213,6 +216,7 @@
       public void stop(ContainerInfo theContainerInfo, IProgressMonitor thePM)
           throws CoreException
       {
  +        thePM.subTask("Stopping the container");
           String[] targets = getMasked("stop.");
           createAntRunner(targets).run(thePM);
       }
  
  
  

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

Reply via email to