src/share/classes/com/sun/tools/apt/resources/apt.properties

Wed, 06 Apr 2011 20:33:44 -0700

author
ohair
date
Wed, 06 Apr 2011 20:33:44 -0700
changeset 962
0ff2bbd38f10
parent 554
9d9f26857129
permissions
-rw-r--r--

7033660: Update copyright year to 2011 on any files changed in 2011
Reviewed-by: dholmes

     1 #
     2 # Copyright (c) 2004, 2006, 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 apt.msg.usage.header=\
    27 Usage: {0} <apt and javac options> <source files>\n\
    28 where apt options include:
    30 apt.msg.usage.footer=\
    31 See javac -help for information on javac options.
    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.
    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.
    42 ## apt options
    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
    81 ##
    82 ## errors
    83 ##
    85 ## All errors which do not refer to a particular line in the source code are
    86 ## preceded by this string.
    88 apt.err.error=\
    89     error:\u0020
    91 apt.err.unsupported.source.version=\
    92     Source release {0} is not supported; use release 5 or earlier
    94 apt.err.unsupported.target.version=\
    95     Target release {0} is not supported; use release 5 or earlier
    97 apt.err.BadDeclaration=\
    98     Bad declaration created for annotation type {0}
   100 apt.err.CantFindClass=\
   101     Could not find class file for {0}
   103 apt.err.DeclarationCreation=\
   104     Could not create declaration for annotation type {0}
   106 # Print an error from the Messager
   107 apt.err.Messager=\
   108     {0}
   110 ##
   111 ## miscellaneous strings
   112 ##
   114 apt.misc.Deprecation=\
   115     \nwarning:\u0020The apt tool and its associated API are planned to be\n\
   116     removed in the next major JDK release.  These features have been\n\
   117     superseded by javac and the standardized annotation processing API,\n\
   118     javax.annotation.processing and javax.lang.model.  Users are\n\
   119     recommended to migrate to the annotation processing features of\n\
   120     javac; see the javac man page for more information.\n
   122 apt.misc.Problem=\
   123     Problem encountered during annotation processing; \nsee stacktrace below for more information.
   125 apt.misc.SunMiscService=\
   126     Error finding annotation processor factories; \ncheck META-INF/services information.
   128 # Print a notice from the Messager
   129 apt.note.Messager=\
   130     {0}
   132 ##
   133 ## warnings
   134 ##
   136 ## All warning messages are preceded by the following string.
   137 apt.warn.warning=\
   138     warning:\u0020
   140 apt.warn.AnnotationsWithoutProcessors=\
   141     Annotation types without processors: {0}
   143 apt.warn.BadFactory=\
   144     Bad annotation processor factory: {0} 
   146 apt.warn.BadParentDirectory=\
   147     Failed to create some parent directory of {0} 
   149 apt.warn.FactoryCantInstantiate=\
   150     Could not instantiate an instance of factory ''{0}''.
   152 apt.warn.FactoryWrongType=\
   153     Specified factory, ''{0}'', is not an AnnotationProcessorFactory.
   155 apt.warn.FactoryNotFound=\
   156     Specified AnnotationProcessorFactory, ''{0}'', not found on search path.
   158 apt.warn.FileReopening=\
   159     Attempt to create ''{0}'' multiple times
   161 apt.warn.IllegalFileName=\
   162     Cannot create file for illegal name ''{0}''.
   164 apt.warn.MalformedSupportedString=\
   165     Malformed string for annotation support, ''{0}'', returned by factory.
   167 apt.warn.NoNewFilesAfterRound=\
   168     Cannot create file ''{0}'' after a round has ended.
   170 # Print a warning from the Messager
   171 apt.warn.Messager=\
   172     {0}
   174 apt.warn.NoAnnotationProcessors=\
   175     No annotation processors found but annotations present.
   177 apt.warn.NullProcessor=\
   178     Factory {0} returned null for an annotation processor.
   180 apt.warn.CorrespondingClassFile=\
   181     A class file corresponding to source file ''{0}'' has already been created.
   183 apt.warn.CorrespondingSourceFile=\
   184     A source file corresponding to class file ''{0}'' has already been created.

mercurial