Hi,
I would like to describe Java module dependencies as a comma-separated list,
and have Ant recursively clean/compile them.
This is possible using the following setup:
<path id="modules">
<pathelement location="${A.dir}"/>
<pathelement location="${B.dir}"/>
<pathelement location="${C.dir}"/>
</path>
<target name="clean-all">
<foreach target="clean" param="name">
<path refid="modules"/>
</foreach>
</target>
But I would like to move to a simple list, something like:
<property name="dependencies" value="A,B,C" />
is there a programmatic way to build a path from a list?
Thanks,
Ariel
--
View this message in context:
http://www.nabble.com/How-to-build-an-Ant-path-from-a-comma-seperated-list--tp20572597p20572597.html
Sent from the Ant - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]