ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dominique Devienne" <ddevie...@gmail.com>
Subject Re: How to preserve a property assigned via antcall on main build process?
Date Mon, 16 Oct 2006 18:37:38 GMT
>  Do you have any idea about how to solve this problem?

1) Simply add the unless ="target.var" directly to compute-target.var,
if the latter doesn't have any dependencies (or copy the content of
compute-target.var to target.pre).

2) Convert compute-target.var to a macro, which share the Project (and
thus properties) with the calling target.

3) Use Ant-Contrib's <if>.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message