I see a small problem here.
Exit was extending Task, and now is extending ConditionBase.
ConditionBase does not extend Task so this breaks
backward compatiblity.

It may be better to do this:

<exit>
  <condition>
     <equals arg1="a" arg2="${dir.name}"/>
  </condition>
</exit>

rather that:
<exit>
  <equals arg1="a" arg2="${dir.name}"/>
</exit>

(Dispite the fact that I normally argue against extra nesting).

Peter

[EMAIL PROTECTED] wrote:

   * @since Ant 1.2
   *
   * @ant.task name="fail" category="control"
   */
 -public class Exit extends Task {
 +public class Exit extends ConditionBase {
      private String message;
      private String ifCondition, unlessCondition;






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



Reply via email to