ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: redefine params for release
Date Fri, 20 Jul 2001 10:03:15 GMT
On Thu, 19 Jul 2001, Ralph Churchill <Ralph.Churchill@Williams.com>
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

Mime
View raw message