You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by an...@apache.org on 2005/10/26 21:04:53 UTC

svn commit: r328708 - /ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Property.java

Author: antoine
Date: Wed Oct 26 12:04:48 2005
New Revision: 328708

URL: http://svn.apache.org/viewcvs?rev=328708&view=rev
Log:
remove call to deprecated method ProjectHelper.parsePropertyString - submitted by Kevin Jackson

Modified:
    ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Property.java

Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Property.java
URL: http://svn.apache.org/viewcvs/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Property.java?rev=328708&r1=328707&r2=328708&view=diff
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Property.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Property.java Wed Oct 26 12:04:48 2005
@@ -26,9 +26,10 @@
 import java.util.Properties;
 import java.util.Stack;
 import java.util.Vector;
+
 import org.apache.tools.ant.BuildException;
 import org.apache.tools.ant.Project;
-import org.apache.tools.ant.ProjectHelper;
+import org.apache.tools.ant.PropertyHelper;
 import org.apache.tools.ant.Task;
 import org.apache.tools.ant.types.Path;
 import org.apache.tools.ant.types.Reference;
@@ -603,8 +604,8 @@
         String propertyValue = props.getProperty(name);
         Vector fragments = new Vector();
         Vector propertyRefs = new Vector();
-        ProjectHelper.parsePropertyString(propertyValue, fragments,
-                                          propertyRefs);
+        PropertyHelper.getPropertyHelper(this.getProject()).parsePropertyString(propertyValue, fragments,
+                propertyRefs);
 
         if (propertyRefs.size() != 0) {
             referencesSeen.push(name);



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org