On 6/8/05, Nicola Ken Barozzi <[EMAIL PROTECTED]> wrote:
> I would use PropertyHelper instead:
> 
> http://cvs.apache.org/viewcvs.cgi/ant/src/main/org/apache/tools/ant/PropertyHelper.java?view=markup
> 
> Here is an example:
> 
> http://cvs.apache.org/viewcvs.cgi/ant/proposal/embed/src/java/org/apache/tools/ant/taskdefs/XMLDOM.java?view=markup
> http://cvs.apache.org/viewcvs.cgi/ant/proposal/embed/test.xml?rev=1.9&view=markup
> 
> In this way, instead of
> 
>    <artifact:setProperty property="parent.artifact.id"
>                          expression="project.parent.artifactId"
>                          pomRefId="maven.project" />
> 
> One could do something like:
> 
>    <property name="parent.artifact.id"
>              value="${maven.project:project.parent.artifactId}">

This looks good, but looking at the examples you gave, I don't see any
use of the PropertyHelper? I will have to spend some more time with it
later on.

> Please do, I will use it right away.

http://www.ibiblio.org/maven2/org/apache/maven/maven-artifact-ant/2.0-SNAPSHOT/maven-artifact-ant-2.0-20050608.072503-1-dep.jar

Thanks,
Brett

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to