Does a recursive Ant task exist to recover properties from external file?
- by Julia2020
Hi,
I ve got a problem in getting properties with ant from a properties file. With a simple target like this in my build.xml, i'd like to get at least two properties path1 and path2. I'd like to have a generic target to get this two properties.... in order to avoid modifying the build.xml (just adding a new prop)
Any suggestions? Thanks in advance !
build.xml :
<target name="TEST" description="test ant">
<property file="dependencies.properties"/>
<svn>
<export srcUrl="${path.prop}" destPath="${workspace}/rep/" />
</svn>
</target>
dependencies.properties :
path1.prop = /path/to/src1
path2.prop = /path/to/src2