> I have tried a few things today and still can't figure this out.  I have a
> properties file with a setting of say test=successful and I want ant to
> check the property test to make sure it is set to successful before going
> on.  How do I do this?


see manual <condition>, f.e. =

<condition property="allOK">
  <equals arg1="${test}" arg2="successful"/>
</condition>

and later on =

<target name="whatever" if="allOK">
...
</target>

or the other way around

<target name="whatever" unless="allOK">
...
</target>


Regards, Gilbert

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

Reply via email to