----- Original Message -----
From: "Vincent Massol" <[EMAIL PROTECTED]>
> * I cannot replace my base.dir by basedir as I need basedir to remain
> constant whereas base.dir changes for each subproject. I agree, I should
> call it differently (although I think Ant should prefix all its internal
> properties by "ant.", exactly for this reason).
I agree that Ant properties should be more clearly denoted. One day I'll
have to have a more detailed look into your build to see how its crafted, so
I can understand your base.dir thing.
> * WRT "location" for <property> : The majority of my properties that
> relate to files are located in build.properties. Thus, I imagine they
> will be loaded by Ant in the same way as if I had used "value", right ?
Yes, correct. But 'location' is a great thing to use for properties not
loaded by property file. Having a build.properties by default is sort of
against the way it should be though (or at least against the majority of
Jakarta projects). Properties should (IMHO) be set inside build.xml and
build.properties is used to override them in exceptional circumstances, but
is typically not needed. I got into this a fair bit on lucene-dev and they
adopted something a bit different (Scarab's approach) - they have a
default.properties that the properties listed there, but that file should
not be touched - instead it should be copied and tweaked as
build.properties.
Erik
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>