C
coltrane
Is it possible to use a condition within a target?
I have a target that contains some steps that only need to be run if a
certain condition exists.
I know how to set a condition property but how can I use an "if" to
control the flow of the steps.
something like this ( I know the if is invalid )
<target name="sometarget">
<delete dir="directoryOne"/>
<if condition>
<delete dir="directoryTwo"/>
</if>
</target>
thanks for your help
john
I have a target that contains some steps that only need to be run if a
certain condition exists.
I know how to set a condition property but how can I use an "if" to
control the flow of the steps.
something like this ( I know the if is invalid )
<target name="sometarget">
<delete dir="directoryOne"/>
<if condition>
<delete dir="directoryTwo"/>
</if>
</target>
thanks for your help
john