>>>>> "VR" == Vijay Raghavan <[EMAIL PROTECTED]> writes:

 VR> For example, if I want to invoke one task if a property is set
 VR> but another one if it is not, is that possible?

Not on the task but on the target level, use the if and unless
attributes.

<target name="ifset" if="propertyname">
  <dosomething />
</target>

<target name="unlessset" unless="propertyname">
  <dosomethingelse />
</target>

<target name="ifelse" depends="ifset,unlessset" />

Stefan


Reply via email to