Re: Macrodef and If

2011-11-11 Thread Stefan Bodewig
On 2011-11-09, Steve Amerige wrote: > Thanks for your reply. This won't work because the macrodef won't > have any knowledge of what to do as per my need. I have to trust you on that. > I think, therefore, my solution of having 2 macrodef elements is as > close as I can get: > > ... > ... >

Re: Macrodef and If

2011-11-09 Thread Steve Amerige
Hi Stefan, Thanks for your reply. This won't work because the macrodef won't have any knowledge of what to do as per my need. I think, therefore, my solution of having 2 macrodef elements is as close as I can get: ... ... So, then the question shifts a bit: in a macrodef, assuming that an

Re: Macrodef and If

2011-11-08 Thread Stefan Bodewig
On 2011-11-08, Steve Amerige wrote: > I'd like to do something like: > > > > ... > > > >... > > Within the macrodef, there would be places it would return true and > other places it returns false. I want the solution to be wholly in > Ant (no Java, Groo

Re: Macrodef and If

2011-11-08 Thread Steve Amerige
e in and use AntContrib though, since it gives you an task. -Original Message- From: Steve Amerige [mailto:steve.amer...@sas.com] Sent: Tuesday, November 08, 2011 9:46 AM To: Ant Users List Subject: Macrodef and If I'd like to do something like: ...

RE: Macrodef and If

2011-11-08 Thread Murray, Mike
.amer...@sas.com] Sent: Tuesday, November 08, 2011 9:46 AM To: Ant Users List Subject: Macrodef and If I'd like to do something like: ... ... Within the macrodef, there would be places it would return true and other places it returns fals

Macrodef and If

2011-11-08 Thread Steve Amerige
I'd like to do something like: ... ... Within the macrodef, there would be places it would return true and other places it returns false. I want the solution to be wholly in Ant (no Java, Groovy, external file use, etc.). Is it possible? If so, can y

RE: Better alternative than using foreach, for and if/then/else?

2010-05-07 Thread Bailey, Darragh
> -Original Message- > From: Stefan Bodewig [mailto:bode...@apache.org] > Sent: 06 May 2010 04:39 > To: user@ant.apache.org > Subject: Re: Better alternative than using foreach, for and > if/then/else? > > On 2010-05-05, Bailey, Darragh wrote: > > >

Re: Better alternative than using foreach, for and if/then/else?

2010-05-05 Thread Stefan Bodewig
On 2010-05-05, Bailey, Darragh wrote: > 1) Is for/foreach the only real option for what I'm attempting to > accomplish here in building multiple end targets based on the contents > of properties? I'd recommend writing a custom task for this rather than trying to implement it in XML. Using Ant's

RE: Better alternative than using foreach, for and if/then/else?

2010-05-05 Thread Martin Gainty
ous ne pouvons accepter aucune responsabilité pour le contenu fourni. > From: dbai...@hp.com > To: user@ant.apache.org > Date: Wed, 5 May 2010 16:10:41 + > Subject: RE: Better alternative than using foreach, for and if/then/else? > > > > -Original Message- >

RE: Better alternative than using foreach, for and if/then/else?

2010-05-05 Thread Bailey, Darragh
> -Original Message- > From: Peter Reilly [mailto:peter.kitt.rei...@gmail.com] > Sent: 05 May 2010 14:46 > To: Ant Users List > Subject: Re: Better alternative than using foreach, for and > if/then/else? > > You need to use ant 1.8 and the task. > declares

Re: Better alternative than using foreach, for and if/then/else?

2010-05-05 Thread Peter Reilly
You need to use ant 1.8 and the task. declares that a property is local to the current scope, as defined by the enclosing or see: http://ant.apache.org/manual/CoreTasks/local.html

Better alternative than using foreach, for and if/then/else?

2010-05-05 Thread Bailey, Darragh
Have recently just started using Ant, with the goal to using it as the default build tool across an entire project. While most of the project will be java based, there are a few parts that won't be and I'm trying to make ant work as effectively as possible for these sections. One of them just

RE: and if

2007-02-15 Thread Mark Modrall
the sender immediately by reply e-mail and delete this message, and any attachments, from your system. Thank you. -Original Message- From: Steve Loughran [mailto:[EMAIL PROTECTED] Sent: Thursday, February 15, 2007 8:39 AM To: Ant Users List Subject: Re: and if Mark Modrall wrote

Re: and if

2007-02-15 Thread Steve Loughran
Mark Modrall wrote: Online manual say supports if and unless but when I try to use them, ant 1.7.0 says it doesn't. where does it say that echo supports them? what is the url? - To unsubscribe, e-mail: [EMAIL PROTECTED] For a

and if

2007-02-15 Thread Mark Modrall
Online manual say supports if and unless but when I try to use them, ant 1.7.0 says it doesn't. Thanks _mark This e-mail message, and any attachments, is intended only for the use of the individual or entity identified in the alias address of this message and may contain information that