I am writing a build.xml file for a standalone java class which uses five ???.properties files. I need to know how to define these within build.xml.
I have tried a number of combinations, and get a file not found exception (from MyClass for the run target).
I have tried:
<path id ="loadVals">
<fileset dir="../properties">
<include name="*.properties"/>
</fileset>
</path>
AND:
<property file="../properties/log4j.properties"/>
<property file="../properties/one.properties"/>
<property file="../properties/two.properties"/>
<property file="../properties/three.properties"/>
<property file="../properties/four.properties"/>
------
Can someone please tell me how to define the five properties files. Thank you (please find build.xml below).
Miles.