From af7a38e95efa7b4dc11bf0daf2a58eaeb9a380a8 Mon Sep 17 00:00:00 2001 From: Peter Donald Date: Sun, 6 Jan 2002 02:13:47 +0000 Subject: [PATCH] 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 --- .../src/main/org/apache/tools/ant/taskdefs/optional/Script.java | 2 +- .../src/todo/org/apache/tools/ant/taskdefs/optional/Script.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/optional/Script.java b/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/optional/Script.java index 8dcaf6391..c99a4452b 100644 --- a/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/optional/Script.java +++ b/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/optional/Script.java @@ -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 ); diff --git a/proposal/myrmidon/src/todo/org/apache/tools/ant/taskdefs/optional/Script.java b/proposal/myrmidon/src/todo/org/apache/tools/ant/taskdefs/optional/Script.java index 8dcaf6391..c99a4452b 100644 --- a/proposal/myrmidon/src/todo/org/apache/tools/ant/taskdefs/optional/Script.java +++ b/proposal/myrmidon/src/todo/org/apache/tools/ant/taskdefs/optional/Script.java @@ -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 );