|
1 # |
|
2 # Copyright 2004-2006 Sun Microsystems, Inc. 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. Sun designates this |
|
8 # particular file as subject to the "Classpath" exception as provided |
|
9 # by Sun 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 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, |
|
22 # CA 95054 USA or visit www.sun.com if you need additional information or |
|
23 # have any questions. |
|
24 # |
|
25 |
|
26 apt.msg.usage.header=\ |
|
27 Usage: {0} <apt and javac options> <source files>\n\ |
|
28 where apt options include: |
|
29 |
|
30 apt.msg.usage.footer=\ |
|
31 See javac -help for information on javac options. |
|
32 |
|
33 apt.msg.usage.nonstandard.footer=\ |
|
34 These options are non-standard and subject to change without notice, \nas is the format of their output. |
|
35 |
|
36 apt.msg.bug=\ |
|
37 An exception has occurred in apt ({0}). \ |
|
38 Please file a bug at the Java Developer Connection (http://java.sun.com/webapps/bugreport) \ |
|
39 after checking the Bug Parade for duplicates. \ |
|
40 Include your program and the following diagnostic in your report. Thank you. |
|
41 |
|
42 ## apt options |
|
43 |
|
44 apt.opt.A=\ |
|
45 Options to pass to annotation processors |
|
46 apt.opt.arg.class=\ |
|
47 <class> |
|
48 apt.opt.arg.directory=\ |
|
49 Specify where to place processor and javac generated class files |
|
50 apt.opt.classpath=\ |
|
51 Specify where to find user class files and annotation processor factories |
|
52 apt.opt.d=\ |
|
53 Specify where to place processor and javac generated class files |
|
54 apt.opt.factory=\ |
|
55 Name of AnnotationProcessorFactory to use; bypasses default discovery process |
|
56 apt.opt.factorypath=\ |
|
57 Specify where to find annotation processor factories |
|
58 apt.opt.s=\ |
|
59 Specify where to place processor generated source files |
|
60 apt.opt.help=\ |
|
61 Print a synopsis of standard options; use javac -help for more options |
|
62 apt.opt.print=\ |
|
63 Print out textual representation of specified types |
|
64 apt.opt.nocompile=\ |
|
65 Do not compile source files to class files |
|
66 apt.opt.proc.flag=\ |
|
67 [key[=value]] |
|
68 apt.opt.version=\ |
|
69 Version information |
|
70 apt.opt.XListAnnotationTypes=\ |
|
71 List found annotation types |
|
72 apt.opt.XListDeclarations=\ |
|
73 List specified and included declarations |
|
74 apt.opt.XPrintAptRounds=\ |
|
75 Print information about initial and recursive apt rounds |
|
76 apt.opt.XPrintFactoryInfo=\ |
|
77 Print information about which annotations a factory is asked to process |
|
78 apt.opt.XClassesAsDecls=\ |
|
79 Treat both class and source files as declarations to process |
|
80 |
|
81 ## |
|
82 ## errors |
|
83 ## |
|
84 |
|
85 ## All errors which do not refer to a particular line in the source code are |
|
86 ## preceded by this string. |
|
87 |
|
88 apt.err.error=\ |
|
89 error:\u0020 |
|
90 |
|
91 apt.err.unsupported.source.version=\ |
|
92 Source release {0} is not supported; use release 5 or earlier |
|
93 |
|
94 apt.err.unsupported.target.version=\ |
|
95 Target release {0} is not supported; use release 5 or earlier |
|
96 |
|
97 apt.err.BadDeclaration=\ |
|
98 Bad declaration created for annotation type {0} |
|
99 |
|
100 apt.err.CantFindClass=\ |
|
101 Could not find class file for {0} |
|
102 |
|
103 apt.err.DeclarationCreation=\ |
|
104 Could not create declaration for annotation type {0} |
|
105 |
|
106 # Print an error from the Messager |
|
107 apt.err.Messager=\ |
|
108 {0} |
|
109 |
|
110 ## |
|
111 ## miscellaneous strings |
|
112 ## |
|
113 |
|
114 apt.misc.Problem=\ |
|
115 Problem encountered during annotation processing; \nsee stacktrace below for more information. |
|
116 |
|
117 apt.misc.SunMiscService=\ |
|
118 Error finding annotation processor factories; \ncheck META-INF/services information. |
|
119 |
|
120 # Print a notice from the Messager |
|
121 apt.note.Messager=\ |
|
122 {0} |
|
123 |
|
124 ## |
|
125 ## warnings |
|
126 ## |
|
127 |
|
128 ## All warning messages are preceded by the following string. |
|
129 apt.warn.warning=\ |
|
130 warning:\u0020 |
|
131 |
|
132 apt.warn.AnnotationsWithoutProcessors=\ |
|
133 Annotation types without processors: {0} |
|
134 |
|
135 apt.warn.BadFactory=\ |
|
136 Bad annotation processor factory: {0} |
|
137 |
|
138 apt.warn.BadParentDirectory=\ |
|
139 Failed to create some parent directory of {0} |
|
140 |
|
141 apt.warn.FactoryCantInstantiate=\ |
|
142 Could not instantiate an instance of factory ''{0}''. |
|
143 |
|
144 apt.warn.FactoryWrongType=\ |
|
145 Specified factory, ''{0}'', is not an AnnotationProcessorFactory. |
|
146 |
|
147 apt.warn.FactoryNotFound=\ |
|
148 Specified AnnotationProcessorFactory, ''{0}'', not found on search path. |
|
149 |
|
150 apt.warn.FileReopening=\ |
|
151 Attempt to create ''{0}'' multiple times |
|
152 |
|
153 apt.warn.IllegalFileName=\ |
|
154 Cannot create file for illegal name ''{0}''. |
|
155 |
|
156 apt.warn.MalformedSupportedString=\ |
|
157 Malformed string for annotation support, ''{0}'', returned by factory. |
|
158 |
|
159 apt.warn.NoNewFilesAfterRound=\ |
|
160 Cannot create file ''{0}'' after a round has ended. |
|
161 |
|
162 # Print a warning from the Messager |
|
163 apt.warn.Messager=\ |
|
164 {0} |
|
165 |
|
166 apt.warn.NoAnnotationProcessors=\ |
|
167 No annotation processors found but annotations present. |
|
168 |
|
169 apt.warn.NullProcessor=\ |
|
170 Factory {0} returned null for an annotation processor. |
|
171 |
|
172 apt.warn.CorrespondingClassFile=\ |
|
173 A class file corresponding to source file ''{0}'' has already been created. |
|
174 |
|
175 apt.warn.CorrespondingSourceFile=\ |
|
176 A source file corresponding to class file ''{0}'' has already been created. |