ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antoine Levy-Lambert" <anto...@antbuild.com>
Subject Re: Ant Tasks [was: Re: How to return values from targets?]
Date Thu, 17 Jul 2003 07:06:24 GMT
On this URL you have a lot of external tasks :
http://ant.apache.org/external.html
there are also for sure a lot of other ant tasks which are not listed on the
ant site.
Vendors of all sorts of software components are often creating specific ant
tasks able to make use of their system through ant.
Antoine
----- Original Message -----
From: "Daniel Joshua" <daniel.joshua@gridnode.com>
To: "'Ant Users List'" <user@ant.apache.org>
Sent: Thursday, July 17, 2003 8:37 AM
Subject: Ant Tasks [was: Re: How to return values from targets?]


> Thanks Dale.
>
> I just realise that there are really alot of places to look for ant tasks
> (core and add-ons).
>
> These are the ones that I know:
>
> http://ant.apache.org/
> http://ant-contrib.sourceforge.net/
> http://antelope.sourceforge.net/
> http://www.oopsconsultancy.com/software/xmltask.html
>
> Does anyone know of others? Any list of them out there?
>
> I know that http://ant.apache.org/projects.html has some of them, but not
> all...
>
> I really hope these add-ons will slowly get added to the core so I dun
have
> to look so many places for documentation/binaries/etc
>
>
> Regards,
> Daniel
>
>
> -----Original Message-----
> From: Dale Anson [mailto:danson@germane-software.com]
> Sent: Thursday, 17 July, 2003 1:54 AM
> To: Ant Users List
> Subject: Re: How to return values from targets?
>
>
> Look at the 'call', 'antfetch', and 'antcallback' tasks in antelope,
> antelope.sourceforge.net. These, coupled with the 'if' and 'var' tasks
> in the same distribution, will do almost what you're asking. It'll be
> more like:
>
> target A
>     <call target="B"/>
>     <call target="C"/>
>
> target B
>     do stuff
>     <call target="D"/>
>     <if name="D_value" value="true">
>        do other stuff
>     </if>
>
> target C
>     do stuff
>     <call target="D"/>
>     <if name="D_value" value="true">
>        do other stuff
>     </if>
>
> target D
>     do stuff
>     <var name="D_value" value="true"/>
>
> Dale
>
>
> Daniel Joshua wrote:
>
> >Hi,
> >
> >Whats the best way to return values from targets?
> >
> >
> >Here's my scenario in PseudoAnt:
> >
> >target A
> >  antcall B
> >  antcall C
> >
> >target B
> >  do stuff
> >  returnValue = antcall D
> >  if (returnValue = true) then
> >    do other stuff
> >
> >target C
> >  do stuff
> >  returnValue = antcall D
> >  if (returnValue = true) then
> >    do other stuff
> >
> >target D
> >  do stuff
> >  return true or false
> >
> >
> >
> >Regards,
> >Daniel
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> >For additional commands, e-mail: user-help@ant.apache.org
> >
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>



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


Mime
View raw message