ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cos...@apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs ImportTask.java
Date Mon, 30 Dec 2002 15:36:25 GMT
costin      2002/12/30 07:36:25

  Modified:    src/main/org/apache/tools/ant/taskdefs ImportTask.java
  Log:
  Fix getParent() ( cut&paste from ProjectHelperImpl )
  
  Revision  Changes    Path
  1.4       +2 -0      jakarta-ant/src/main/org/apache/tools/ant/taskdefs/ImportTask.java
  
  Index: ImportTask.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/ImportTask.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- ImportTask.java	28 Dec 2002 16:17:07 -0000	1.3
  +++ ImportTask.java	30 Dec 2002 15:36:25 -0000	1.4
  @@ -113,6 +113,8 @@
   //        File buildFile=context.buildFile;
   //        File buildFileParent=context.buildFileParent;
           File buildFile=(File)currentSource;
  +        buildFile=new File( buildFile.getAbsolutePath());
  +        System.out.println("Importing from " + currentSource);
           File buildFileParent=new File(buildFile.getParent());
   
           project.log("Importing file "+ file +" from "+
  
  
  

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