ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shatzer, Larry" <Larry.Shat...@Spirent.com>
Subject RE: Need help for ["AntCall" cannot return properties]
Date Thu, 30 Oct 2003 23:01:58 GMT
Have you looked around ant-contrib to see if they offer a task that might
suit you?

http://ant-contrib.sourceforge.net/

Particularly <if> and <switch>.

-- Larry

> -----Original Message-----
> From: Chen Becky [mailto:Becky.Chen@core.fanniemae.com]
> Sent: Thursday, October 30, 2003 2:57 PM
> To: user@ant.apache.org
> Subject: Need help for ["AntCall" cannot return properties]
> 
> 
> Hi,
>  
> Yes, I am new to ANT, may be you all are familiar with this.
> By researching from archive emails, I think the statement "AntCall
> cannot return properties" is true.
> But there must be a way to setup a property to accomplish 
> what I need to
> do below.
>  
> <-- I want to use AntCall to setup a property which based on another
> property with various name -->
> <AntCall target="input-1"/>
> <AntCall target="input-2"/>
> <AntCall target="input-3"/>
> ......
> ......
> <target name="A" if="input-1"
>   <property name="small" value="a"/>
> </target>
> <target name="B" if="input-2"
>   <property name="small" value="b"/>
> </target>
> <target name="C" if="input-3"
>   <property name="small" value="c"/>
> </target>
>  
> Thanks a lot.
> Becky
> 

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


Mime
View raw message