InfoZoneTools API

org.infozone.tools.ant
Class DependendExec

java.lang.Object
  |
  +--org.apache.tools.ant.ProjectComponent
        |
        +--org.apache.tools.ant.Task
              |
              +--org.apache.tools.ant.taskdefs.Exec
                    |
                    +--org.infozone.tools.ant.DependendExec

public class DependendExec
extends org.apache.tools.ant.taskdefs.Exec

ANT cannot handle the dependency of source files from a definition file. This ability is needed if one will generate source files with castor. This module solves this problem.

Version:
$Revision: 1.3 $
Author:
andreas.kasparz@interface-projects.de

Constructor Summary
DependendExec()
           
 
Method Summary
 void execute()
          Exectue the task. this function will be called by the ANT build system.
 void setDependsOn(java.lang.String s)
           
 void setTarget(java.lang.String s)
           
 
Methods inherited from class org.apache.tools.ant.taskdefs.Exec
setCommand, setDir, setFailonerror, setOs, setOutput
 
Methods inherited from class org.apache.tools.ant.Task
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, init, log, log, maybeConfigure, perform, setDescription, setLocation, setOwningTarget, setTaskName
 
Methods inherited from class org.apache.tools.ant.ProjectComponent
getProject, setProject
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DependendExec

public DependendExec()
Method Detail

execute

public void execute()
             throws org.apache.tools.ant.BuildException
Exectue the task. this function will be called by the ANT build system. The work will be made by the ANT internal 'Java' task. We create one, give them the needed parameters and execute them.

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

setTarget

public void setTarget(java.lang.String s)

setDependsOn

public void setDependsOn(java.lang.String s)

InfoZoneTools API