ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional Script.java
Date Mon, 01 Oct 2001 12:26:11 GMT
bodewig     01/10/01 05:26:11

  Modified:    src/main/org/apache/tools/ant/taskdefs/optional Script.java
  Log:
  Add reference to current task instance under the name "self" to
  <script> task.
  
  Submitted by:	Erik Hatcher <jakarta-ant@ehatchersolutions.com>
  
  Revision  Changes    Path
  1.7       +2 -0      jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/Script.java
  
  Index: Script.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/Script.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- Script.java	2001/09/29 03:51:53	1.6
  +++ Script.java	2001/10/01 12:26:11	1.7
  @@ -99,6 +99,8 @@
   
               beans.put("project", getProject());
   
  +            beans.put("self", this);
  +
               BSFManager manager = new BSFManager ();
   
               for (Enumeration e = beans.keys() ; e.hasMoreElements() ;) {
  
  
  

Mime
View raw message