org.codehaus.backport175.compiler.task
Class AnnotationCTask

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by org.codehaus.backport175.compiler.task.AnnotationCTask
All Implemented Interfaces:
java.lang.Cloneable

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

AnnotationC Ant task.

Use the following parameters to configure the task:

Use the following parameters to configure the classpath to point to the classes to be weaved. Those can be specified with nested elements as well / instead:

Nested elements are similar to the "javac" task when you configure a classpath and a sourcepath:

Author:
the_mindstorm(at)evolva(dot)ro, Alexandre Vasseur

Field Summary
 
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
AnnotationCTask()
           
 
Method Summary
 void addFileset(org.apache.tools.ant.types.FileSet fileset)
           
 org.apache.tools.ant.types.Path createClasspath()
           
 org.apache.tools.ant.types.Path createProperties()
           
 org.apache.tools.ant.types.Path createSourcepath()
           
 org.apache.tools.ant.types.Path createSrc()
           
 void execute()
           
 void setClasspath(org.apache.tools.ant.types.Path classpath)
           
 void setClasspathRef(org.apache.tools.ant.types.Reference r)
           
 void setCopytodest(java.lang.String pattern)
          
 void setDestdir(java.io.File destdir)
          
 void setIgnoreUnknown(boolean ignoreUnknown)
          
 void setProperties(java.io.File annotationFile)
          
 void setSourcepath(org.apache.tools.ant.types.Path sourcepath)
           
 void setSourcepathRef(org.apache.tools.ant.types.Reference r)
           
 void setSrcdir(org.apache.tools.ant.types.Path srcDir)
           
 void setVerbose(boolean isVerbose)
          
 
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, toString, wait, wait, wait
 

Constructor Detail

AnnotationCTask

public AnnotationCTask()
Method Detail

setProperties

public void setProperties(java.io.File annotationFile)

Parameters:
annotationFile -

setVerbose

public void setVerbose(boolean isVerbose)

Parameters:
isVerbose -

setIgnoreUnknown

public void setIgnoreUnknown(boolean ignoreUnknown)

Parameters:
ignoreUnknown -

setCopytodest

public void setCopytodest(java.lang.String pattern)

Parameters:
pattern -

setDestdir

public void setDestdir(java.io.File destdir)

Parameters:
destdir -

createProperties

public org.apache.tools.ant.types.Path createProperties()

createSrc

public org.apache.tools.ant.types.Path createSrc()

setSrcdir

public void setSrcdir(org.apache.tools.ant.types.Path srcDir)

setSourcepath

public void setSourcepath(org.apache.tools.ant.types.Path sourcepath)

createSourcepath

public org.apache.tools.ant.types.Path createSourcepath()

setSourcepathRef

public void setSourcepathRef(org.apache.tools.ant.types.Reference r)

setClasspath

public void setClasspath(org.apache.tools.ant.types.Path classpath)

createClasspath

public org.apache.tools.ant.types.Path createClasspath()

setClasspathRef

public void setClasspathRef(org.apache.tools.ant.types.Reference r)

addFileset

public void addFileset(org.apache.tools.ant.types.FileSet fileset)

execute

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