FreeHEP API
Version v1.2.2

org.freehep.ant
Class FreeHepAnt

java.lang.Object
  |
  +--org.apache.tools.ant.ProjectComponent
        |
        +--org.apache.tools.ant.Task
              |
              +--org.freehep.ant.FreeHepAnt

public class FreeHepAnt
extends org.apache.tools.ant.Task

Call FreeHep-Ant in a sub-project, which executes as a true sub-ant, without inheriting anything from the super-ant.

Two options are possible, the first, a command-line like execution:

    
      
    
 

The second multiple invocations on the same target with "jar" defined differently every time:

    
      
    
 

Version:
$Id: FreeHepAnt.java,v 1.2 2000/10/19 11:54:22 duns Exp $
Author:
Mark Donszelmann

Field Summary
 
Fields inherited from class org.apache.tools.ant.Task
description, location, target, taskName, taskType, wrapper
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
project
 
Constructor Summary
FreeHepAnt()
           
 
Method Summary
 void execute()
           
 void setArgs(String str)
           
 void setJars(String str)
           
 
Methods inherited from class org.apache.tools.ant.Task
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, handleErrorFlush, handleErrorOutput, handleFlush, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName
 
Methods inherited from class org.apache.tools.ant.ProjectComponent
getProject, setProject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FreeHepAnt

public FreeHepAnt()
Method Detail

setArgs

public void setArgs(String str)

setJars

public void setJars(String str)

execute

public void execute()
             throws org.apache.tools.ant.BuildException
Overrides:
execute in class org.apache.tools.ant.Task
org.apache.tools.ant.BuildException

FreeHEP API
Version v1.2.2

Copyright © 2000-2003 FreeHEP, All Rights Reserved.