> What I still don't get is what
>
> <path>
> <argument refid="..." />
> </path>
>
I don't either :-)
My code does not support that.
What it supports is:
<argument id="myarg">
<argument value="hello friend"/>
<argument value="goodbye foe"/>
</argument>
<path refid="myarg"/>
That is useful. I am attaching a build file and its output when run with a
modified Ant.
I can manufacture file path from names, command line argument from paths, etc.
That is worth something, isn't it? And it is very little new code.
Vincent.
Searching for build.xml ...
Buildfile: c:\projects\thing\build.xml
test:
prop1 = "hello friend" "goodbye foe"
prop2 = C:\projects\thing\hello friend;C:\projects\thing\goodbye foe
prop3 = "C:\projects\thing\hello friend" "C:\projects\thing\goodbye foe"
BUILD SUCCESSFUL
Total time: 0 seconds
<?xml version="1.0"?>
<project name="sample" default="test" basedir=".">
<argument id="myarg">
<argument value="hello friend"/>
<argument value="goodbye foe"/>
</argument>
<path refid="myarg" id="mypath"/>
<target name="test">
<property name="prop1" refid="myarg"/>
<property name="prop2" refid="mypath"/>
<property name="prop3" refid="mypath" separator=" "/>
<echo message="prop1 = ${prop1}"/>
<echo message="prop2 = ${prop2}"/>
<echo message="prop3 = ${prop3}"/>
</target>
</project>