ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diane Holt <hol...@yahoo.com>
Subject Re: Any example of properties files for the filter task?
Date Wed, 06 Dec 2000 22:24:21 GMT
--- Fajian Shi <fshi@saltare.com> wrote:
> 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

Almost right -- just remove the @'s around your token names. (BTW: I'm
only assuming it doesn't mind the back-slash in your java.home value --
have never tried that myself.)

Diane

=====
(holtdl@yahoo.com)



__________________________________________________
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/

Mime
View raw message