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