Browse Source

Fix getParent() ( cut&paste from ProjectHelperImpl )

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273729 13f79535-47bb-0310-9956-ffa450edef68
master
Costin Manolache 22 years ago
parent
commit
be974a4a5a
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      src/main/org/apache/tools/ant/taskdefs/ImportTask.java

+ 2
- 0
src/main/org/apache/tools/ant/taskdefs/ImportTask.java View File

@@ -113,6 +113,8 @@ public class ImportTask extends Task {
// 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 "+


Loading…
Cancel
Save