ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <ste...@apache.org>
Subject Re: AW: Property name policy (was Re: cvs commit: ant/docs/manual/Cor eTypes selectors.html)
Date Fri, 14 Jan 2005 11:20:12 GMT
Jan.Materne@rzf.fin-nrw.de 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.
> 
> 
> another +1. we can modify <property>to give a warning when these names are
> used.

except of course they could be deliberate attempts to set things.

> 
> 
> 
>>>maybe we should reserve the "build." prefix as well -
>>>build.sysclasspath and CVS HEAD's build.clonevm.
> 
> 
> I wouldnt do that - I cant count the numbers of buildfiles where I have seen
> build.dir and build.classes ...
> 
> 
> Jan
> 


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


Mime
View raw message