From 0b2fdb27096341d7df6110190ac3519191945177 Mon Sep 17 00:00:00 2001 From: Peter Donald Date: Sun, 6 Jan 2002 02:02:26 +0000 Subject: [PATCH] Get property from context rather than project git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270568 13f79535-47bb-0310-9956-ffa450edef68 --- .../myrmidon/src/main/org/apache/tools/ant/taskdefs/Rmic.java | 2 +- .../myrmidon/src/todo/org/apache/tools/ant/taskdefs/Rmic.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/Rmic.java b/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/Rmic.java index 25a5319b9..832cff8b8 100644 --- a/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/Rmic.java +++ b/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/Rmic.java @@ -506,7 +506,7 @@ public class Rmic extends MatchingTask getLogger().info( "Verify has been turned on." ); } - String compiler = getProject().getProperty( "build.rmic" ); + String compiler = getProperty( "build.rmic" ).toString(); RmicAdapter adapter = RmicAdapterFactory.getRmic( compiler, this ); // now we need to populate the compiler adapter diff --git a/proposal/myrmidon/src/todo/org/apache/tools/ant/taskdefs/Rmic.java b/proposal/myrmidon/src/todo/org/apache/tools/ant/taskdefs/Rmic.java index 25a5319b9..832cff8b8 100644 --- a/proposal/myrmidon/src/todo/org/apache/tools/ant/taskdefs/Rmic.java +++ b/proposal/myrmidon/src/todo/org/apache/tools/ant/taskdefs/Rmic.java @@ -506,7 +506,7 @@ public class Rmic extends MatchingTask getLogger().info( "Verify has been turned on." ); } - String compiler = getProject().getProperty( "build.rmic" ); + String compiler = getProperty( "build.rmic" ).toString(); RmicAdapter adapter = RmicAdapterFactory.getRmic( compiler, this ); // now we need to populate the compiler adapter