| AnnotationC Ant task.
Use the following parameters to configure the task:
- verbose: [optional] flag marking the task verbosity [true / false]
- properties: [optional] path to a properties file when user-defined annoations are to be used
- destdir: [optional unless input classes are in more than one path] directory where to put annnotated class files
- copytodest: [optional] filename pattern to copy extra resources like dtd, xml, or properties files that were found
in the input classes path(s). By defaults, only ".class" files will be handled. It is ignored if "destdir" is not set.
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:
- properties path=..: extra path to a properties file when user-defined annoations are to be used
- classpath: classpath of classes to annotated, as well as classpath to discover user-defined annotations if any
- classpathref: classpath reference of classes to annotated, as well as classpath to discover user-defined annotations if any
- srcdir: directory where to find annotated java source files
- sourcepath: path where to find annotated java source files
- sourcepathref: path reference where to find annotated java source files
Nested elements are similar to the "javac" task when you configure a classpath and a sourcepath:
- classpath: Path-like structure of classes to annotated, as well as classpath to discover user-defined annotations if any
- src: single path entry of annotated java source files
- sourcepath: Path-like structure of annotated java source files
- fileset: fileset to contain annotated java source files
author: the_mindstorm(at)evolva(dot)ro author: Alexandre Vasseur |