ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <ste...@apache.org>
Subject Re: Property name policy (was Re: cvs commit: ant/docs/manual/CoreTypes selectors.html)
Date Fri, 14 Jan 2005 11:18:22 GMT
Stefan Bodewig wrote:
> On 13 Jan 2005, <stevel@apache.org> wrote:
> 
> 
>>I have declared a policy on what we will name new properties. Is
>>this a good formal policy to have?
> 
> 
> <snip/>
> 
>>If new properties get added (it happens), expect them to appear
>>under the "ant." and "org.apache.tools.ant" prefixes, unless the
>>developers have a very good reason to use another
>>prefix. Accordingly, please avoid using properties that begin
>>with these prefixes, to reduce the risk that future Ant releases
>>break your build file.
> 
> 
> +1
> 
> maybe we should reserve the "build." prefix as well -
> build.sysclasspath and CVS HEAD's build.clonevm.
> 

I thought that, but then I use things like build.dir, build.test.dir 
everywhere. I think we are better off adding new stuff  under ant.* ; 
which leaves one place of instability in future.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message