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

Just so this was clear, try this:

~/build.properties
------------------
lib.repo=/home/jakarta/jars

project/build.properties
------------------------
lib.repo=/tmp/jars

<project name="test" default="env" basedir=".">
  <property file="${user.home}/build.properties"/>
  <property file="build.properties"/>

  <target name="env">
    <echo message="lib.repo = ${lib.repo}"/>
  </target>

You will see that the value echoed for lib.repo is /home/jakarta/jars
and not /tmp/jars.

 
> 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