Greetings,

Quick question, and I apologize in advance if this has been asked before:
can a single target or task have both an "if" *and* an "unless" attribute to
control conditional execution? I wasn't clear from the documentation if
using "if" and "unless" was an either/or proposition, and found no clear
answer in the archives either. I'm hoping to be able to be able to have a
task conditionally execute based on an available property being detected
within the buildfile and an additional property being detected which is
passed in from an external user.properties file. My use cases/test cases
seem to suggest two conditionals can't be used within a single task, but I
wanted to ask the list as a sanity check, as it's quite possible my xml is
crap. Any insight would be greatly appreciated.

Cheers,

Matt


Reply via email to