ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tibor Strausz <Tibor.Stra...@tridion.com>
Subject RE: ANT 1.4.1 to ANT 1.5
Date Tue, 06 Aug 2002 14:12:04 GMT

is the target 'debug' only called when there went something wrong??
thnx tibi

> <target name="A">
>   ...something goes wrong
>   <antcall target="debug">
>     <param name="module.name" value="A" />
>   </antcall>
> </target>


> -----Original Message-----
> From: Stefan Bodewig [mailto:bodewig@apache.org]
> Sent: Tuesday, August 06, 2002 4:07 PM
> To: ant-user@jakarta.apache.org
> Subject: Re: ANT 1.4.1 to ANT 1.5
> 
> 
> On Tue, 6 Aug 2002, Geoff Meakin <geoffm@isocra.com> wrote:
> 
> > <target name="A">
> >   <condition property="module.name" value="A"><and/></condition>
> >   ...something goes wrong
> >   <antcall target="debug">
> > </target>
> 
> should be
> 
> <target name="A">
>   ...something goes wrong
>   <antcall target="debug">
>     <param name="module.name" value="A" />
>   </antcall>
> </target>
> 
> which not only works in 1.4.1 as well as 1.5 (and 1.2 to 1.4, BTW),
> but also is cleaner IMHO.
> 
> Stefan
> 
> --
> To unsubscribe, e-mail:   
> <mailto:ant-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: 
> <mailto:ant-user-help@jakarta.apache.org>
> 

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


Mime
View raw message