costin      2002/12/24 09:21:28

  Modified:    proposal/embed/src/java/org/apache/tools/ant/helper
                        ProjectHelperImpl2.java
  Log:
  Patch from Nicola. Add a property "ant.file.PROJECTNAME" to point to
  the file from which this imported file was read.
  
  Revision  Changes    Path
  1.8       +3 -0      
jakarta-ant/proposal/embed/src/java/org/apache/tools/ant/helper/ProjectHelperImpl2.java
  
  Index: ProjectHelperImpl2.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-ant/proposal/embed/src/java/org/apache/tools/ant/helper/ProjectHelperImpl2.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- ProjectHelperImpl2.java   24 Dec 2002 01:47:35 -0000      1.7
  +++ ProjectHelperImpl2.java   24 Dec 2002 17:21:28 -0000      1.8
  @@ -632,6 +632,9 @@
                   }
               }
   
  +            project.setUserProperty("ant.file."+context.currentProjectName,
  +                    context.buildFile.toString());
  +
               if( context.ignoreProjectTag ) {
                   // no further processing
                   return;
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to