On Wed, Oct 10, 2001 at 09:57:32PM +1000, Peter Donald wrote: > On Wed, 10 Oct 2001 21:18, Jeff Turner wrote: > > On Wed, Oct 10, 2001 at 12:42:46PM +1000, Peter Donald wrote: > > > Hi, > > > > > > I just got a few complaints that .ant.properties is kinda an ugly > > > construct when stored in project directory because it gets hidden. So I > > > propose we rename this to ./ant.properties but we still keep the one in > > > home directory with . in front of it (ie ~/.ant.properties). > > > > build.properties perhaps? > > > > It's as near to a standard as there is, > > you sure? That convention was birthed when commons was created if I am not > mistaken. Besides commons I haven't really seen it used elsewhere. Most > projects I know still use ant.properties because thats the way that the ant > build file works (and it's also the way the ant-dev used to always recomend).
According to 'slocate', the following Jakarta projects use build.properties: commons struts taglibs tomcat regexp watchdog turbine Apart from Avalon and friends, the only Jakarta project using .ant.properties is Ant itself. There are some non-Jakarta projects, like xerces and jython. > > and it implies a nice rule that > > "<whatever>.xml" has properties file "<whatever>.properties". So > > build-docs.xml and build-docs.properties are obviously associated. > > Perhaps. However I guess I don't see that as desirable ;) If I have 3 build > files in a directory that would mean I could potentially have 3 different > property files all containing the same thing. eek ! ;) The implied rule only becomes evident if it's exploited: build.xml build.properties build-docs.xml build-docs.properties If you only have one build.properties and multiple *.xml files, there's no indication that there's a 'broken pattern', and you're in the same situation as .ant.properties. --Jeff (who doesn't mind, really.. running +P mode;) > -- > Cheers, > > Pete > > ---------------------------------------- > Whatever you do will be insignificant, > but it is very important that you do it. > --Gandhi > ---------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
