Copyright © tutorialspoint.com
A fuller discussion of how the tool operates as well as instructions for developing with apt are in Getting Started with apt at http://java.sun.com/j2se/1.5.0/docs/guide/apt/GettingStarted.html.
Tag | Description |
---|---|
sourcefiles | Zero or more source files to be processed. |
@files | One or more files that list source files or other options. |
Tag | Description |
---|---|
-s dir | Specify the directory root under which processor-generated source files will be placed; files are placed in subdirectories based on package namespace. |
-nocompile | Do not compile sources files to class files. |
Print out textual representation of specified types; perform no annotation processing or compilation. | |
-A[key[=val]] | Options to pass to annotation processors -- these are not interpreted by apt directly, but are made available for use by individual processors |
-factorypath path | Specify where to find annotation processor factories; if this option is used, the classpath is not searched for factories. |
-factory classname | Name of annotation processor factory to use; bypasses default discovery process |
Tag | Description |
---|---|
-d dir | Specify where to place processor and javac generated class files |
-cp path or-classpath path | Specify where to find user class files and annotation processor factories. If -factorypath is given, the classpath is not searched for factories. |
Copyright © tutorialspoint.com