What I want to do is to force at least one "arg" to be present, so
I can define a branch of things to happen. What's the cleanest way
to do this?

I want something like:

ant (foo|bar) <other targets...>

but I want the build to exit if foo or bar do not exist on the command line. 
I've tried some
things (they didn't seem very elegant to me), but I ended up having 
troubles with the <fail> task. It says that unless is not a supported 
attribute? What gives with this?



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to