From 7716e2be7dac2fb47efc62e55e5b7948c26d48ae Mon Sep 17 00:00:00 2001 From: Costin Manolache Date: Mon, 14 Oct 2002 19:55:13 +0000 Subject: [PATCH] Revert the property replacement in text. Added a note on the bug in import ( not very important, but should be fixed ). git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273446 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/tools/ant/RuntimeConfigurable2.java | 6 +++--- proposal/embed/test.xml | 10 +++++++--- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/proposal/embed/src/java/org/apache/tools/ant/RuntimeConfigurable2.java b/proposal/embed/src/java/org/apache/tools/ant/RuntimeConfigurable2.java index f05f853af..c16d0d1ec 100644 --- a/proposal/embed/src/java/org/apache/tools/ant/RuntimeConfigurable2.java +++ b/proposal/embed/src/java/org/apache/tools/ant/RuntimeConfigurable2.java @@ -261,10 +261,10 @@ public class RuntimeConfigurable2 extends RuntimeConfigurable { } if (characters.length() != 0) { - // First do substitution. This allows Message to work - // like . And it's more fun. +// // First do substitution. This allows Message to work +// // like . And it's more fun. String txt=characters.toString(); - txt=ph.replaceProperties( txt ); +// txt=ph.replaceProperties( txt ); ProjectHelper.addText(p, wrappedObject, txt); characters.setLength(0); } diff --git a/proposal/embed/test.xml b/proposal/embed/test.xml index 4ede778d8..450ac5b98 100644 --- a/proposal/embed/test.xml +++ b/proposal/embed/test.xml @@ -2,8 +2,12 @@ - - Base.path from build.xml ( in top level ): ${base.path} + + + @@ -84,7 +88,7 @@ - +