ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guillaume Rousse <rou...@ccr.jussieu.fr>
Subject Re: Deleting personal values from a build file
Date Wed, 25 Jul 2001 18:04:19 GMT
Ainsi parlait Will Hartung :
> > 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.
Or even just passed by command line argument, you're absolutly right :-)
-- 
Guillaume Rousse <rousse@ccr.jussieu.fr>
GPG key http://bohm.snv.jussieu.fr/~rousse/gpgkey.html

Mime
View raw message