How can I load a value from a property file and pass it as arg when I want to execute a java file?
The content the file of aa.properties: home_path=C:/myhome/apps
The ant:
<target name="tst">
<property file="aa.properties"/>
<property name="homepath" value="${home_path}/"/>
<java classpathref="clspath" classname="com.mytest.myapp" fork="true">
<arg value="${homepath}"/>
</java>
</target>
<arg value="${home_path}"/>without the intermediatehomepathproperty). Is something not working?