ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fajian Shi" <f...@saltare.com>
Subject Any example of properties files for the filter task?
Date Wed, 06 Dec 2000 21:30:55 GMT
I am pretty inexperienced in Java and Ant.

My question is how the general look of properties files? The file can be
used in filter task or property tasks, such as:

<filter filterfile="deploy_env.properties" />

<property file="build.properties" />

I imagine the following example file might serve for both tasks,

# my properties file
java.home=e:\jdk13
@mynametoken@=myname
@passwd@=password

#EOF

This will set the ${java.home} to e:\jdk13, replacing @mynametoken@ with
myname, am I right?

Thanks!

++Fajian


Mime
View raw message