org.apache.tools.ant.taskdefs
Class CompileTask

java.lang.Object
  |
  +--org.apache.tools.ant.Task
        |
        +--org.apache.tools.ant.taskdefs.MatchingTask
              |
              +--org.apache.tools.ant.taskdefs.Javac
                    |
                    +--org.apache.tools.ant.taskdefs.CompileTask

public class CompileTask
extends Javac

This task will compile and load a new taskdef all in one step. At times, this is useful for eliminating ordering dependencies which otherwise would require multiple executions of Ant.

Author:
Sam Ruby rubys@us.ibm.com

Inner classes inherited from class org.apache.tools.ant.taskdefs.MatchingTask
MatchingTask.NameEntry
 
Field Summary
protected  java.util.Vector taskList
           
 
Fields inherited from class org.apache.tools.ant.taskdefs.Javac
compileList, filecopyList
 
Fields inherited from class org.apache.tools.ant.taskdefs.MatchingTask
excludeList, includeList, useDefaultExcludes
 
Fields inherited from class org.apache.tools.ant.Task
description, location, project, target
 
Constructor Summary
CompileTask()
           
 
Method Summary
 Taskdef createTaskdef()
          add a new task entry on the task list
 void execute()
          have execute do nothing
 void init()
          do all the real work in init
 
Methods inherited from class org.apache.tools.ant.taskdefs.Javac
scanDir, setBootclasspath, setClasspath, setDebug, setDeprecation, setDestdir, setExtdirs, setFiltering, setOptimize, setSrcdir, setTarget
 
Methods inherited from class org.apache.tools.ant.taskdefs.MatchingTask
createExclude, createInclude, getDirectoryScanner, getProperty, setDefaultexcludes, setExcludes, setIgnore, setIncludes, setItems
 
Methods inherited from class org.apache.tools.ant.Task
getDescription, getLocation, setDescription, setLocation, setTarget
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

taskList

protected java.util.Vector taskList
Constructor Detail

CompileTask

public CompileTask()
Method Detail

createTaskdef

public Taskdef createTaskdef()
add a new task entry on the task list

init

public void init()
do all the real work in init
Overrides:
init in class Task

execute

public void execute()
have execute do nothing
Overrides:
execute in class Javac


Copyright © 2000 Apache Software Foundation. All Rights Reserved.