Browse Source

Don't place project in bean list - instead place context in there

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270576 13f79535-47bb-0310-9956-ffa450edef68
master
Peter Donald 24 years ago
parent
commit
af7a38e95e
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/optional/Script.java
  2. +1
    -1
      proposal/myrmidon/src/todo/org/apache/tools/ant/taskdefs/optional/Script.java

+ 1
- 1
proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/optional/Script.java View File

@@ -90,7 +90,7 @@ public class Script extends Task
//In Ant2 there is no difference between properties and references
//addBeans( getProject().getReferences() );

beans.put( "project", getProject() );
beans.put( "context", getContext() );

beans.put( "self", this );



+ 1
- 1
proposal/myrmidon/src/todo/org/apache/tools/ant/taskdefs/optional/Script.java View File

@@ -90,7 +90,7 @@ public class Script extends Task
//In Ant2 there is no difference between properties and references
//addBeans( getProject().getReferences() );

beans.put( "project", getProject() );
beans.put( "context", getContext() );

beans.put( "self", this );



Loading…
Cancel
Save