ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <gudnabr...@yahoo.com>
Subject Re: Antcall or depends
Date Tue, 19 Aug 2003 19:40:26 GMT
What I see here is that properties set by an <antcall>
do not return to the calling project.  It may be more
profitable for you to tell us exactly what you need.

-Matt

--- Roman Rytov <rrytov@entopia.com> wrote:
> Here is a snippet of ant script:
> 
> <target name="a">
> <property name="X" value="x/>
> </target>
> 
> 
> <target name="ok" depends="a">
> <echo>${X}</echo>
> </target>
> 
> 
> 
> <target name="bad">
> <antcall target="a"/>
> <echo>${X}</echo>
> </target>
> 
> 
> 
> In case of "bad" target property X is not definded.
> Why is it such and
> is there a way to work it around? I can't change
> some logic to the first
> case and really need to use antcall.
> 
> 
> Roman
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> user-unsubscribe@ant.apache.org
> For additional commands, e-mail:
> user-help@ant.apache.org
> 


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

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


Mime
View raw message