ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antoine Levy-Lambert <anto...@gmx.de>
Subject Re: [Patch] Property - remove deprecated code
Date Wed, 26 Oct 2005 19:05:41 GMT
Hello Kevin,

thanks again,

Antoine

Kev Jackson wrote:

> Kev Jackson wrote:
>
>> - removed ProjectHelper.parsePropertyString
>> - added PropertyHelper.parsePropertyString
>>
>> Kev
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
>> For additional commands, e-mail: dev-help@ant.apache.org
>>
> Always helps to attach actual code...
>
>------------------------------------------------------------------------
>
>Index: D:/java_projects/ant-core-trunk/src/main/org/apache/tools/ant/taskdefs/Property.java
>===================================================================
>--- D:/java_projects/ant-core-trunk/src/main/org/apache/tools/ant/taskdefs/Property.java
(revision 328575)
>+++ D:/java_projects/ant-core-trunk/src/main/org/apache/tools/ant/taskdefs/Property.java
(working copy)
>@@ -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
>


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


Mime
View raw message