ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From co...@apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/ejb WeblogicDeploymentTool.java
Date Wed, 30 Jan 2002 09:45:26 GMT
conor       02/01/30 01:45:26

  Modified:    src/main/org/apache/tools/ant/taskdefs/optional/ejb
                        WeblogicDeploymentTool.java
  Log:
  Move weblogic deployment tool over to FileUtils
  
  Revision  Changes    Path
  1.34      +5 -1      jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/ejb/WeblogicDeploymentTool.java
  
  Index: WeblogicDeploymentTool.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/ejb/WeblogicDeploymentTool.java,v
  retrieving revision 1.33
  retrieving revision 1.34
  diff -u -w -u -r1.33 -r1.34
  --- WeblogicDeploymentTool.java	10 Jan 2002 13:59:35 -0000	1.33
  +++ WeblogicDeploymentTool.java	30 Jan 2002 09:45:26 -0000	1.34
  @@ -76,6 +76,7 @@
   import org.apache.tools.ant.AntClassLoader;
   import org.apache.tools.ant.types.Path;
   import org.apache.tools.ant.taskdefs.Java;
  +import org.apache.tools.ant.util.FileUtils;
   
   public class WeblogicDeploymentTool extends GenericDeploymentTool {
       public final static String PUBLICID_EJB11
  @@ -149,6 +150,9 @@
        */
       private Integer jvmDebugLevel = null;
   
  +    /** File utilities instance for copying jars */
  +    private FileUtils fileUtils = FileUtils.newFileUtils();
  +    
       /**
        * Get the classpath to the weblogic classpaths
        */
  @@ -420,7 +424,7 @@
   
           if (noEJBC) {
               try {
  -                getTask().getProject().copyFile(sourceJar, destJar);
  +                fileUtils.copyFile(sourceJar, destJar);
                   if (!keepgenerated) {
                       sourceJar.delete();
                   }
  
  
  

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


Mime
View raw message