ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan.Mate...@rzf.fin-nrw.de
Subject AW: Property name policy (was Re: cvs commit: ant/docs/manual/Cor eTypes selectors.html)
Date Fri, 14 Jan 2005 11:14:03 GMT
> > > 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.


> > 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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message