On Tue, 21 Aug 2001, Jason van Zyl wrote:

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

I know how it works, but /home/jakarta/jars is ***not*** what I want :-).

>  
> > The check-available stuff is a nice addition.
> > 
> > Craig
> 
> -- 
> 
> jvz.
> 
> Jason van Zyl
> 

Craig


Reply via email to