ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wi...@msoft.com (Will Hartung)
Subject Re: Deleting personal values from a build file
Date Wed, 25 Jul 2001 17:51:12 GMT
> From: "Guillaume Rousse" <rousse@ccr.jussieu.fr>
> Sent: Wednesday, July 25, 2001 10:41 AM
>
> Hello.
> I have my own alias and password stored in a ant buildfile, this way:
> <property name="alias" value="foo"/>
> <property name="alias" value="bar"/>
>  Before distributing my project, including the build file itself, i would
> like to remove thoses values.

Rather than having them coded in the ANT build, you should load those
properties either from ENVironment variables, or from a seperate properties
file that you can choose not to distribute. In many ways, it's a much
cleaner solution to what you want to do.

Will Hartung
(willh@msoft.com)


Mime
View raw message