Mon, 19 Nov 2012 11:38:49 -0800
8001098: Provide a simple light-weight "plug-in" mechanism for javac
Reviewed-by: mcimadamore
1 #
2 # Copyright (c) 1999, 2012, Oracle and/or its affiliates. All rights reserved.
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 #
5 # This code is free software; you can redistribute it and/or modify it
6 # under the terms of the GNU General Public License version 2 only, as
7 # published by the Free Software Foundation. Oracle designates this
8 # particular file as subject to the "Classpath" exception as provided
9 # by Oracle in the LICENSE file that accompanied this code.
10 #
11 # This code is distributed in the hope that it will be useful, but WITHOUT
12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 # version 2 for more details (a copy is included in the LICENSE file that
15 # accompanied this code).
16 #
17 # You should have received a copy of the GNU General Public License version
18 # 2 along with this work; if not, write to the Free Software Foundation,
19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 #
21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 # or visit www.oracle.com if you need additional information or have any
23 # questions.
24 #
26 ## standard options
28 javac.opt.g=\
29 Generate all debugging info
30 javac.opt.g.none=\
31 Generate no debugging info
32 javac.opt.g.lines.vars.source=\
33 Generate only some debugging info
34 javac.opt.nowarn=\
35 Generate no warnings
36 javac.opt.verbose=\
37 Output messages about what the compiler is doing
38 javac.opt.deprecation=\
39 Output source locations where deprecated APIs are used
40 javac.opt.classpath=\
41 Specify where to find user class files and annotation processors
42 javac.opt.sourcepath=\
43 Specify where to find input source files
44 javac.opt.bootclasspath=\
45 Override location of bootstrap class files
46 javac.opt.Xbootclasspath.p=\
47 Prepend to the bootstrap class path
48 javac.opt.Xbootclasspath.a=\
49 Append to the bootstrap class path
50 javac.opt.endorseddirs=\
51 Override location of endorsed standards path
52 javac.opt.extdirs=\
53 Override location of installed extensions
54 javac.opt.processorpath=\
55 Specify where to find annotation processors
56 javac.opt.processor=\
57 Names of the annotation processors to run; bypasses default discovery process
58 javac.opt.proc.none.only=\
59 Control whether annotation processing and/or compilation is done.
60 javac.opt.d=\
61 Specify where to place generated class files
62 javac.opt.sourceDest=\
63 Specify where to place generated source files
64 javac.opt.headerDest=\
65 Specify where to place generated native header files
66 javac.opt.J=\
67 Pass <flag> directly to the runtime system
68 javac.opt.encoding=\
69 Specify character encoding used by source files
70 javac.opt.target=\
71 Generate class files for specific VM version
72 javac.opt.source=\
73 Provide source compatibility with specified release
74 javac.opt.Werror=\
75 Terminate compilation if warnings occur
76 javac.opt.A=\
77 Options to pass to annotation processors
78 javac.opt.implicit=\
79 Specify whether or not to generate class files for implicitly referenced files
80 javac.opt.pkginfo=\
81 Specify handling of package-info files
82 javac.opt.arg.class=\
83 <class>
84 javac.opt.arg.class.list=\
85 <class1>[,<class2>,<class3>...]
86 javac.opt.arg.flag=\
87 <flag>
88 javac.opt.arg.key.equals.value=\
89 key[=value]
90 javac.opt.arg.path=\
91 <path>
92 javac.opt.arg.dirs=\
93 <dirs>
94 javac.opt.arg.directory=\
95 <directory>
96 javac.opt.arg.encoding=\
97 <encoding>
98 javac.opt.arg.release=\
99 <release>
100 javac.opt.arg.number=\
101 <number>
102 javac.opt.plugin=\
103 Name and optional arguments for a plug-in to be run
104 javac.opt.arg.plugin=\
105 "name args"
107 ## extended options
109 javac.opt.maxerrs=\
110 Set the maximum number of errors to print
111 javac.opt.maxwarns=\
112 Set the maximum number of warnings to print
113 javac.opt.nogj=\
114 Don't accept generics in the language
115 javac.opt.moreinfo=\
116 Print extended information for type variables
117 javac.opt.printflat=\
118 Print abstract syntax tree after inner class conversion
119 javac.opt.printsearch=\
120 Print information where classfiles are searched
121 javac.opt.prompt=\
122 Stop after each error
123 javac.opt.retrofit=\
124 Retrofit existing classfiles with generic types
125 javac.opt.s=\
126 Emit java sources instead of classfiles
127 javac.opt.scramble=\
128 Scramble private identifiers in bytecode
129 javac.opt.scrambleall=\
130 Scramble package visible identifiers in bytecode
131 javac.opt.version=\
132 Version information
133 javac.opt.arg.pathname=\
134 <pathname>
135 javac.opt.arg.file=\
136 <filename>
137 javac.opt.Xlint=\
138 Enable recommended warnings
139 javac.opt.Xlint.suboptlist=\
140 Enable or disable specific warnings
141 javac.opt.Xstdout=\
142 Redirect standard output
143 javac.opt.X=\
144 Print a synopsis of nonstandard options
145 javac.opt.help=\
146 Print a synopsis of standard options
147 javac.opt.print=\
148 Print out a textual representation of specified types
149 javac.opt.printRounds=\
150 Print information about rounds of annotation processing
151 javac.opt.printProcessorInfo=\
152 Print information about which annotations a processor is asked to process
153 javac.opt.prefer=\
154 Specify which file to read when both a source file and class file are found for an implicitly compiled class
155 javac.opt.AT=\
156 Read options and filenames from file
158 ## errors
160 javac.err.empty.A.argument=\
161 -A requires an argument; use ''-Akey'' or ''-Akey=value''
162 javac.err.invalid.arg=\
163 invalid argument: {0}
164 javac.err.invalid.A.key=\
165 key in annotation processor option ''{0}'' is not a dot-separated sequence of identifiers
166 javac.err.invalid.flag=\
167 invalid flag: {0}
168 javac.err.invalid.target=\
169 invalid target release: {0}
170 javac.err.no.source.files=\
171 no source files
172 javac.err.no.source.files.classes=\
173 no source files or class names
174 javac.err.req.arg=\
175 {0} requires an argument
176 javac.err.invalid.source=\
177 invalid source release: {0}
178 javac.err.error.writing.file=\
179 error writing {0}; {1}
180 javac.warn.source.target.conflict=\
181 source release {0} requires target release {1}
182 javac.warn.target.default.source.conflict=\
183 target release {0} conflicts with default source release {1}
184 javac.err.dir.not.found=\
185 directory not found: {0}
186 javac.err.file.not.found=\
187 file not found: {0}
188 javac.err.file.not.directory=\
189 not a directory: {0}
190 javac.err.file.not.file=\
191 not a file: {0}
192 javac.msg.plugin.not.found=\
193 plug-in not found: {0}
194 ## messages
196 javac.msg.usage.header=\
197 Usage: {0} <options> <source files>\n\
198 where possible options include:
200 javac.msg.usage=\
201 Usage: {0} <options> <source files>\n\
202 use -help for a list of possible options
204 javac.msg.usage.nonstandard.footer=\
205 These options are non-standard and subject to change without notice.
207 javac.msg.bug=\
208 An exception has occurred in the compiler ({0}). \
209 Please file a bug at the Java Developer Connection (http://java.sun.com/webapps/bugreport) \
210 after checking the Bug Parade for duplicates. \
211 Include your program and the following diagnostic in your report. Thank you.
213 javac.msg.io=\
214 \n\nAn input/output error occurred.\n\
215 Consult the following stack trace for details.\n
217 javac.msg.proc.annotation.uncaught.exception=\
218 \n\nAn annotation processor threw an uncaught exception.\n\
219 Consult the following stack trace for details.\n
221 javac.msg.plugin.uncaught.exception=\
222 \n\nA plugin threw an uncaught exception.\n\
223 Consult the following stack trace for details.\n
225 javac.msg.resource=\
226 \n\nThe system is out of resources.\n\
227 Consult the following stack trace for details.\n
229 javac.version={0} {1}
230 javac.fullVersion={0} full version "{1}"