apt-java-1.6.0-openjdk man page on Oracle

Man page or keyword search:  
man Server   33470 pages
apropos Keyword Search (all sections)
Output format
Oracle logo
[printable version]

apt(1)									apt(1)

       apt - annotation processing tool

       apt  [-classpath classpath] [-sourcepath sourcepath] [-d directory] [-s
       directory] [-factorypath path] [-factory class]	[-print]  [-nocompile]
       [-Akey[=val] ...] [javac option] sourcefiles [@files]

       Options may be in any order. For a discussion of parameters which apply
       to a specific option, see OPTIONS below.

	  Zero or more source files to be processed.

	  One or more files that list source files or other options

       The tool apt, annotation processing tool, includes a set of new reflec‐
       tive APIs and supporting infrastructure to process program annotations.
       The apt reflective APIs provide a build-time,  source-based,  read-only
       view  of	 program  structure.  These  reflective	 APIs  are designed to
       cleanly model the Java(TM) programming language's type system after the
       addition	 of  generics.	First, apt runs annotation processors that can
       produce new source code and other files. Next, apt can  cause  compila‐
       tion  of	 both original and generated source files, easing development.
       The reflective APIs and other APIs used to interact with the  tool  are
       subpackages of com.sun.mirror.

       A  fuller  discussion  of how the tool operates as well as instructions
       for developing with apt are in Getting Started with apt. @

	  The functionality of apt has been subsumed by the annotation-pro‐
	  cessing infrastructure that is now part of the javac tool [ Solaris
	  and Linux @
	  notes/tools/solaris/javac.html] [Windows] and standardized for use
	  by all Java compilers. This new infrastructure relies on the lan‐
	  guage model and annotation-processing APIs that are now part of the
	  Java Platform. It is recommended that new annotation processor
	  development be based on the new APIs and the javac tool.

   apt specific options
       -s dir
	  Specify the directory root under which processor-generated source
	  files will be placed; files are placed in subdirectories based on
	  package namespace.

	  Do not compile source files to class files.

	  Print out textual representation of specified types; perform no
	  annotation processing or compilation.

	  Options to pass to annotation processors -- these are not inter‐
	  preted by apt directly, but are made available for use by individual

       -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 dis‐
	  covery process

   Options shared with javac
       -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.

       Consult the javac(1) man page for information on javac options.

       The functionality of apt has been subsumed by the standard annota‐
       tion-processing infrastructure now offered by javac. Support for apt
       and its associated APIs may be discontinued in some future JDK release.

	  * javac: [ Solaris and Linux @
	    notes/tools/solaris/javac.html] [Windows]

	  * java: [ Solaris @
	    notes/tools/solaris/java.html] [ Linux @

				  05 Aug 2006				apt(1)

List of man pages available for Oracle

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
Vote for polarhome
Free Shell Accounts :: the biggest list on the net