Browse Source

Patch from Nicola. Add a property "ant.file.PROJECTNAME" to point to

the file from which this imported file was read.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273692 13f79535-47bb-0310-9956-ffa450edef68
master
Costin Manolache 22 years ago
parent
commit
f04ace21c6
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      proposal/embed/src/java/org/apache/tools/ant/helper/ProjectHelperImpl2.java

+ 3
- 0
proposal/embed/src/java/org/apache/tools/ant/helper/ProjectHelperImpl2.java View File

@@ -632,6 +632,9 @@ public class ProjectHelperImpl2 extends ProjectHelper {
}
}

project.setUserProperty("ant.file."+context.currentProjectName,
context.buildFile.toString());

if( context.ignoreProjectTag ) {
// no further processing
return;


Loading…
Cancel
Save