InfoZoneTools API

org.infozone.tools.ant
Class DependendJava

java.lang.Object
  |
  +--org.apache.tools.ant.ProjectComponent
        |
        +--org.apache.tools.ant.Task
              |
              +--org.apache.tools.ant.taskdefs.Java
                    |
                    +--org.infozone.tools.ant.DependendJava

public class DependendJava
extends org.apache.tools.ant.taskdefs.Java

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
DependendJava()
           
 
Method Summary
 void execute()
          Execute 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.Java
addSysproperty, clearArgs, createArg, createClasspath, createJvmarg, executeJava, setArgs, setClassname, setClasspath, setClasspathRef, setDir, setFailonerror, setFork, setJar, setJvm, setJvmargs, setJVMVersion, setMaxmemory, 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

DependendJava

public DependendJava()
Method Detail

execute

public void execute()
             throws org.apache.tools.ant.BuildException
Execute 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.Java
org.apache.tools.ant.BuildException

setTarget

public void setTarget(java.lang.String s)

setDependsOn

public void setDependsOn(java.lang.String s)

InfoZoneTools API