ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs LoadFile.java
Date Thu, 27 Dec 2001 05:18:01 GMT
stevel      01/12/26 21:18:01

  Modified:    src/main/org/apache/tools/ant/taskdefs LoadFile.java
  Log:
  using srcFile datatype
  
  Revision  Changes    Path
  1.2       +4 -3      jakarta-ant/src/main/org/apache/tools/ant/taskdefs/LoadFile.java
  
  Index: LoadFile.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/LoadFile.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- LoadFile.java	2001/12/25 06:13:40	1.1
  +++ LoadFile.java	2001/12/27 05:18:00	1.2
  @@ -58,6 +58,7 @@
   import org.apache.tools.ant.BuildException;
   import org.apache.tools.ant.ProjectHelper;
   import org.apache.tools.ant.types.EnumeratedAttribute;
  +import org.apache.tools.ant.types.SrcFile;
   import java.io.File;
   import java.io.FileInputStream;
   import java.io.InputStreamReader;
  @@ -66,7 +67,7 @@
   
   /**
    * Load a file into a property
  - *
  + * @since 1.5
    * @author Steve Loughran
    * @created 10 December 2001
    */
  @@ -125,8 +126,8 @@
        *
        * @param srcFile The new SrcFile value
        */
  -    public void setSrcFile(File srcFile) {
  -        this.srcFile = srcFile;
  +    public void setSrcFile(SrcFile srcFile) {
  +        this.srcFile = srcFile.getFile();
       }
   
   
  
  
  

--
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