avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/components/deployer/installer Installer.java
Date Mon, 13 May 2002 21:09:31 GMT
donaldp     02/05/13 14:09:31

  Modified:    src/java/org/apache/avalon/phoenix/components/deployer/installer
                        Installer.java
  Log:
  Only delete working directory of application
  undeployed not all working directories.
  
  Revision  Changes    Path
  1.2       +3 -3      jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/components/deployer/installer/Installer.java
  
  Index: Installer.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/components/deployer/installer/Installer.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- Installer.java	11 May 2002 02:05:13 -0000	1.1
  +++ Installer.java	13 May 2002 21:09:31 -0000	1.2
  @@ -34,7 +34,7 @@
    * and installing it as appropriate.
    *
    * @author <a href="mailto:peter@apache.org">Peter Donald</a>
  - * @version $Revision: 1.1 $ $Date: 2002/05/11 02:05:13 $
  + * @version $Revision: 1.2 $ $Date: 2002/05/13 21:09:31 $
    */
   public class Installer
       extends AbstractLogEnabled
  @@ -111,13 +111,13 @@
   
           try
           {
  -            FileUtil.deleteDirectory( workDir );
  +            FileUtil.deleteDirectory( installation.getWorkDirectory() );
           }
           catch( final IOException ioe )
           {
               final String message =
                   REZ.getString( "nodelete-workdir.error",
  -                               workDir,
  +                               installation.getWorkDirectory(),
                                  ioe.getMessage() );
               getLogger().warn( message, ioe );
           }
  
  
  

--
To unsubscribe, e-mail:   <mailto:avalon-cvs-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-cvs-help@jakarta.apache.org>


Mime
View raw message