ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jon Skeet" <jon.sk...@peramon.com>
Subject RE: Getting parameters from a file
Date Tue, 24 Jul 2001 12:47:43 GMT
> In my ant file, I have a lot of properties (for example 
> <property name="db"
> value="C:\mts-test\jdbc-12.zip"/> ).  Instead of having the 
> user to change
> the ant file, is it possible to get all those property values from a
> different file.

Have you looked at the documentation for the Property task?

<quote>
There are five ways to set properties:

<snip>
By setting the file attribute with the filename of the property file to
load. This property file has the format as defined by the file used in
the class java.util.Properties.
</quote>

There are examples of how to do this within the documentation.

Jon

Mime
View raw message