java - Read <property> value from file within build.xml -
can read the property value external file instead of specifing value within <property>
tag.
so instead of -
<property name="device" value="test" />
use like
<property name="device" value="c:\\filetoread" />
where file read contains test,test2,test3
thanks
in build.xml
<property file="general.properties" />
general.properties file
svnant.version=1.0.0 lib.dir=${ant.home}/lib
so be:
<property file="c:\\filetoread" />
filetorread is
device=test
Comments
Post a Comment