On Thu, 19 Jul 2001, Ralph Churchill <[EMAIL PROTECTED]>
wrote:

> This doesn't work. I'd be willing to redefine the properties in the
> antcall, but that doesn't seem to work either:
> 
> <target name="production">
>       <antcall target="build">
>               <param name="project.dir" value="/tmp"/>
>               <param name="src" value="${project.dir}/src" />
>               <param name="build" value="${project.dir}/build" />

It works if you don't try to reference the "new" value of project.dir,
use 

                <param name="src" value="/tmp/src" />

and so on.

> What alternatives do I have?

Try Ant 1.4alpha and the new inheritall attribute of <ant> - I just
realized that <antcall> doesn't have this attribute yet, going to fix
that ASAP.

Stefan

Reply via email to