RE: How to fail if macro attribute is not set

2006-08-21 Thread Master, Tariq \(Abbeywood\)
Scott, Cheers, Smart dude! To reflect my sillyness Ant by default shows the error: required attribute idea not set -Original Message- From: Scot P. Floess [mailto:[EMAIL PROTECTED] Sent: 21 August 2006 16:47 To: Ant Users List Subject: Re: How to fail if macro attribute is

Re: How to fail if macro attribute is not set

2006-08-21 Thread Scot P. Floess
Here: I think in your example the attribute idea will be required. Is your question more like, "how do I ensure the attribute idea is not empty?" If so, the above should solve your problem... I didn't run the above...so t

How to fail if macro attribute is not set

2006-08-21 Thread Master, Tariq \(Abbeywood\)
I would like my macro definition to fail if an attribute is not. Example: The fail in the above case always fails as the attribute isn't recognised as a property. Unless I'm incorrect. Ideas or potential idea for Ant 1.7+ ? Tariq --