lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jon Scott Stevens <...@latchkey.com>
Subject Re: cvs commit: jakarta-lucene build.xml
Date Wed, 27 Feb 2002 01:19:35 GMT
on 2/26/02 5:10 PM, "otis@apache.org" <otis@apache.org> wrote:

> - Moved properties from build.properties in here. build.properties should be
>   removed and replaced by build.properties.sample.

-1.

A better way to deal with this is to follow what Scarab and other projects
do which is to do this:

    <!-- Give user a chance to override without editing this file
        (and without typing -D each time it compiles it -->
    <property file="${user.home}/lucene.build.properties" />
    <property file="${user.home}/build.properties" />
    <property file="${basedir}/build.properties" />
    <property file="${basedir}/default.properties" />

First, rename build.properties to default.properties

Next, a developer can create one or more of the following files:

~/build.properties
~/lucene.build.properties
lucene/build.properties

That way, developers don't need to rename files in order to make things work
and the 'default' properties don't clutter up the build.xml file.

Thanks,

-jon


--
To unsubscribe, e-mail:   <mailto:lucene-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:lucene-dev-help@jakarta.apache.org>


Mime
View raw message