I have a folder containing several jar files which should all go to a classpath:
<path id="my.classpath">
<fileset dir="/tmp/mylibs" includes="*.jar" />
</path>
Now I would like to be able to reference all these jar files as a seperate property,
e.g. if I have two jar files foo.jar and bar.jar then I would like to be able to reference them like
${foo.jar} (== /tmp/mylibs/foo.jar)
${bar.jar} (== /tmp/mylibs/bar.jar)
Is that somehow possible in Ant?
Thanks, Peter
With help of ant-contrib you can try this:
For overriding property value (if you need) purpose you can also use ant-contrib