Re: Feature request: if/unless on command line arguments

2012-02-17 Thread Steele, Richard
On Fri, Feb 17, 2012 at 8:30 AM, Dominique Devienne wrote: > >> From: "Steele, Richard" > >> I think it would be convenient to have command-line arguments take > optional > >> if/unless attributes that work much like those on targets. > > On Fri, Feb 17, 2012 at 2:06 PM, Vimil Saju wrote: > > C

Re: Feature request: if/unless on command line arguments

2012-02-17 Thread Dominique Devienne
>>  From: "Steele, Richard" >> I think it would be convenient to have command-line arguments take optional >> if/unless attributes that work much like those on targets. On Fri, Feb 17, 2012 at 2:06 PM, Vimil Saju wrote: > Can't you use the if task from ant-contrib? Not "inside" tasks, no, AFAIK

Re: Feature request: if/unless on command line arguments

2012-02-17 Thread Vimil Saju
Can't you use the if task from ant-contrib?  From: "Steele, Richard" To: user@ant.apache.org Sent: Friday, February 17, 2012 4:34 AM Subject: Feature request: if/unless on command line arguments I think it would be convenient to have command-line arguments ta

Feature request: if/unless on command line arguments

2012-02-17 Thread Steele, Richard
I think it would be convenient to have command-line arguments take optional if/unless attributes that work much like those on targets. My use case is with the task where I want to conditionally pass in an -Xlint option: .