org.freecompany.imp
Class PropertyTask

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by org.apache.tools.ant.taskdefs.Property
              extended by org.freecompany.imp.PropertyTask
All Implemented Interfaces:
java.lang.Cloneable

public class PropertyTask
extends org.apache.tools.ant.taskdefs.Property


Field Summary
 
Fields inherited from class org.apache.tools.ant.taskdefs.Property
classpath, env, file, name, prefix, ref, resource, url, userProperty, value
 
Fields inherited from class org.apache.tools.ant.Task
target, taskName, taskType, wrapper
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project
 
Constructor Summary
PropertyTask()
           
 
Method Summary
 void execute()
          Does nothing when called in document order by the Ant runtime.
 void executeNow()
          Delegates to the superclass execute when we run it at the appropriate time, which is after the Index has processed imports and set the core properties.
 
Methods inherited from class org.apache.tools.ant.taskdefs.Property
addProperties, addProperty, createClasspath, getClasspath, getEnvironment, getFile, getName, getPrefix, getRefid, getResource, getUrl, getValue, loadEnvironment, loadFile, loadResource, loadUrl, setClasspath, setClasspathRef, setEnvironment, setFile, setLocation, setName, setPrefix, setRefid, setResource, setUrl, setUserProperty, setValue, toString
 
Methods inherited from class org.apache.tools.ant.Task
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
 
Methods inherited from class org.apache.tools.ant.ProjectComponent
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PropertyTask

public PropertyTask()
Method Detail

execute

public void execute()
             throws org.apache.tools.ant.BuildException
Does nothing when called in document order by the Ant runtime.

Overrides:
execute in class org.apache.tools.ant.taskdefs.Property
Throws:
org.apache.tools.ant.BuildException

executeNow

public void executeNow()
                throws org.apache.tools.ant.BuildException
Delegates to the superclass execute when we run it at the appropriate time, which is after the Index has processed imports and set the core properties. This allows properties within this one to be properly expanded regardless of where in the build file or set of imports this property appears.

Throws:
org.apache.tools.ant.BuildException