ise.antelope.tasks
Class Assert

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by ise.antelope.tasks.Assert
All Implemented Interfaces:
java.lang.Cloneable, org.apache.tools.ant.TaskContainer

public class Assert
extends org.apache.tools.ant.Task
implements org.apache.tools.ant.TaskContainer

Based on the Sequential task. Similar to Java's 'assert' keyword, verifies that a given property has a given value. Throws a BuildException if the property value is not as expected or the property does not exist.

Also like Java's 'assert' keyword, the Assert task must be 'turned on' using the property "ant.enable.asserts". If not set, or is set to false, the Assert task works exactly like the Sequential task.

Can hold other tasks including Assert. Attributes: