----- Original Message -----
From: "Craig R. McClanahan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, April 15, 2001 2:47 AM
Subject: RE: Finding "build.properties" Files


>
>
> On Sun, 15 Apr 2001, Peter Donald wrote:
>
> > While your standardizing on this you may want to rename build.proeprties
to
> > .ant.properties because thats is the convention for the rest of the
world.
> >
> > Cheers,
> >
> > Pete
> >
>
> Yarg, I assumed "build.properties" but just went back and looked at Ant's
> build.xml file.  Based on that (and Peter's suggestion above), I would
> suggest we do the following instead:
>
>   <property file="${basedir}/.ant.properties"/>
>   <property file="${basedir}/../.ant.properties"/>
>   <property file="${user.home}/.ant.properties"/>
>
> and call our example file ".ant.properties.sample" instead of
> "build.properties.sample".
>
> Craig
>

+0 (just because I don't want to be a pain, otherwise I would have voted -1
...)

Here are my main reasons :

1) Have you ever tried to create such a file under windows ? It is a
nightmare because the explorer won't let you. You have to use tricks to
succeed (like opening a dos shell, typing edit .ant.properties and exiting
and saving the file).

2) The name is really too unix centric for my taste

3) Why hide this file ? You will tend to forget the existence of the file
under unix, even more if you have 3 : one in your home, one in JAKARTA_HOME
and one in your project.

Vincent.

Reply via email to