On 8/21/01 3:45 PM, "Craig R. McClanahan" <[EMAIL PROTECTED]> wrote:

> 
> 
> On 21 Aug 2001 [EMAIL PROTECTED] wrote:
> 
>> jon         01/08/21 12:30:34
>> 
>>    
>>    <!-- ========== Initialize Properties
>> ===================================== -->
>>    
>>   -
>>   +  <property file="${user.home}/build.properties"/>   <!-- User local
>> -->
>>      <property file="build.properties"/>                <!-- Component local
>> -->
>>      <property file="../build.properties"/>             <!-- Commons local
>> -->
>>   -  <property file="${user.home}/build.properties"/>   <!-- User local
>> -->
>>   -
> 
> -1 ... the load from ${user.home}/build.properties should go *last*,
> not *first*.  You want to be able to set your "usual" properties in your
> home directory, but override them for this particular package if
> necessary.

The way ant loads probably files is a bit strange. If you load
~/build.properties first any values set there will not be overriden by
the subsequent loading of properties files defining properties already
defined will be ignored. I believe it works in the reverse way you would
expect it to.
 
> The check-available stuff is a nice addition.
> 
> Craig

-- 

jvz.

Jason van Zyl

http://tambora.zenplex.org
http://jakarta.apache.org/turbine
http://jakarta.apache.org/velocity
http://jakarta.apache.org/alexandria
http://jakarta.apache.org/commons


Reply via email to