1 #
   2 # Copyright (c) 1997, 2016, 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 #
  25 
  26 # Concatenated with Driver.ErrorMessage, Driver.WarningMessage, Driver.InfoMessage (Driver.InfoMessage + exception message + ConsoleErrorReporter.UnknownLocation) if location of the error is not known.
  27 ConsoleErrorReporter.UnknownLocation = \
  28         unknown location
  29 
  30 # Concatenated with Driver.ErrorMessage, Driver.WarningMessage, Driver.InfoMessage (Driver.InfoMessage + exception message + ConsoleErrorReporter.LineXOfY). {0} - "?"/number, {1} - file location/"unknown file" e.g.: [xjc] [ERROR] Attempt to create a property having the same name as the reserved word "Class". [xjc] line 6 of example.xsd
  31 ConsoleErrorReporter.LineXOfY = \
  32         \ \ line {0} of {1}
  33 
  34 # may be a placeholder replacement for the second placeholder of ConsoleErrorReporter.LineXOfY (if the file location is unknown)
  35 ConsoleErrorReporter.UnknownFile = \
  36         unknown file
  37 
  38 Driver.Private.Usage = \
  39 Additional private testing options:\n\
  40 \ \ -debug             :  run in debug mode (includes -verbose)\n\
  41 \ \ -mode <mode>       :  run XJC in other running mode\n\
  42 \ \ -private           :  display this help message\n\
  43 Mode:\n\
  44 \ \ code         :  generate Java source code (default)\n\
  45 \ \ dryrun       :  compile the schema in memory, but don't generate the Java source\n\
  46 \ \ zip          :  generate Java source code into a zip file specified by the -d option\n\
  47 \ \ sig          :  dump the signatures of the generated code\n\
  48 \ \ forest       :  dump transformed DOM forest\n\
  49 
  50 Driver.Public.Usage = \
  51 Usage: xjc [-options ...] <schema file/URL/dir/jar> ... [-b <bindinfo>] ...\n\
  52 If dir is specified, all schema files in it will be compiled.\n\
  53 If jar is specified, /META-INF/sun-jaxb.episode binding file will be compiled.\n\
  54 Options:\n\
  55 \ \ -nv                :  do not perform strict validation of the input schema(s)\n\
  56 \ \ -extension         :  allow vendor extensions - do not strictly follow the\n\
  57 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Compatibility Rules and App E.2 from the JAXB Spec\n\
  58 \ \ -b <file/dir>      :  specify external bindings files (each <file> must have its own -b)\n\
  59 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ If a directory is given, **/*.xjb is searched\n\
  60 \ \ -d <dir>           :  generated files will go into this directory\n\
  61 \ \ -p <pkg>           :  specifies the target package\n\
  62 \ \ -m <name>          :  generate module-info.java with given Java module name\n\
  63 \ \ -httpproxy <proxy> :  set HTTP/HTTPS proxy. Format is [user[:password]@]proxyHost:proxyPort\n\
  64 \ \ -httpproxyfile <f> :  Works like -httpproxy but takes the argument in a file to protect password \n\
  65 \ \ -classpath <arg>   :  specify where to find user class files\n\
  66 \ \ -catalog <file>    :  specify catalog files to resolve external entity references\n\
  67 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ support TR9401, XCatalog, and OASIS XML Catalog format.\n\
  68 \ \ -readOnly          :  generated files will be in read-only mode\n\
  69 \ \ -npa               :  suppress generation of package level annotations (**/package-info.java)\n\
  70 \ \ -no-header         :  suppress generation of a file header with timestamp\n\
  71 \ \ -target (2.0|2.1)  :  behave like XJC 2.0 or 2.1 and generate code that doesn't use any 2.2 features.\n\
  72 \ \ -encoding <encoding> :  specify character encoding for generated source files\n\
  73 \ \ -enableIntrospection :  enable correct generation of Boolean getters/setters to enable Bean Introspection apis \n\
  74 \ \ -disableXmlSecurity  :  disables XML security features when parsing XML documents \n\
  75 \ \ -contentForWildcard  :  generates content property for types with multiple xs:any derived elements \n\
  76 \ \ -xmlschema         :  treat input as W3C XML Schema (default)\n\
  77 \ \ -dtd               :  treat input as XML DTD (experimental,unsupported)\n\
  78 \ \ -wsdl              :  treat input as WSDL and compile schemas inside it (experimental,unsupported)\n\
  79 \ \ -verbose           :  be extra verbose\n\
  80 \ \ -quiet             :  suppress compiler output\n\
  81 \ \ -help              :  display this help message\n\
  82 \ \ -version           :  display version information\n\
  83 \ \ -fullversion       :  display full version information\n\
  84 
  85 Driver.AddonUsage = \nExtensions:
  86 
  87 # {0} - one of: DTD, WSDL; {1} - one of (respectively): -dtd, -wsdl
  88 Driver.ExperimentalLanguageWarning = \
  89         Are you trying to compile {0}? Support for {0} is experimental. \
  90         You may enable it by using the {1} option.
  91 
  92 # Not concatenated with any other String. Variable: Name of a directory (input argument of the XJC utility).
  93 Driver.NonExistentDir = \
  94     cowardly refuses to write to a non-existent directory "{0}"
  95 
  96 # Usage not found. TODO Remove
  97 #Driver.MissingRuntimePackageName = \
  98 #       the -use-runtime option is missing a package name
  99 
 100 # Not concatenated with any other string (written on a separate line).
 101 Driver.MissingModeOperand = \
 102         the -mode option is missing an operand
 103 
 104 # Usage not found. TODO Remove
 105 #Driver.MissingCompatibilityOperand = \
 106 #       the -compatibility option is missing an operand
 107 
 108 # Not concatenated with any other string (written on a separate line).
 109 Driver.MissingOperand = \
 110         an operand is missing
 111 
 112 # Not concatenated with any other string (written on a separate line).
 113 Driver.MissingProxyHost = \
 114         either the -host option is missing an operand \n\
 115         or -port was specified but not -host
 116 
 117 # Not concatenated with any other string (written on a separate line).
 118 Driver.MissingProxyPort = \
 119         either the -port option is missing an operand \n\
 120         or -host was specified but not -port
 121 
 122 Driver.ILLEGAL_TARGET_VERSION = \
 123     "{0}" is not a valid target version. "2.0" and "2.1" are supported.
 124 # Java module name is invalid, {0} - Java module name.
 125 Driver.INVALID_JAVA_MODULE_NAME = \
 126     invalid Java module name: "{0}"
 127 
 128 # Not concatenated with any other string (written on a separate line).
 129 Driver.MISSING_PROXYFILE = \
 130     the -httpproxyfile option is missing an operand
 131 
 132 Driver.NO_SUCH_FILE = \
 133     No such file: {0}
 134 
 135 Driver.ILLEGAL_PROXY = \
 136     "{0}" is not a valid proxy format. The format is [user[:password]@]proxyHost:proxyPort
 137 
 138 # Not concatenated with any other string (written on a separate line).
 139 Driver.UnrecognizedMode = \
 140         unrecognized mode {0}
 141 
 142 # Not concatenated with any other string (written on a separate line).
 143 Driver.UnrecognizedParameter = \
 144         unrecognized parameter {0}
 145 
 146 Driver.UnsupportedEncoding = \
 147         unsupported encoding: {0}
 148 
 149 Driver.MissingGrammar = \
 150         grammar is not specified
 151 
 152 # {0} - namespace uri, {1} - local name of the attribute/element e.g.: Unexpected end of attribute {http://www.w3.org/XML/1998/namespace}:lang
 153 Driver.NotABindingFile = \
 154         not an external binding file. The root element must be '{'http://java.sun.com/xml/ns/jaxb'}'bindings but it is '{'{0}'}'{1}
 155 
 156 # Not concatenated with any other string (written on a separate line).
 157 Driver.ParsingSchema = \
 158         parsing a schema...
 159 
 160 Driver.ParseFailed = \
 161         Failed to parse a schema.
 162 
 163 Driver.StackOverflow = \
 164         Stack overflow. Either you are compiling a large schema that requires more resources, or \
 165         XJC has a bug. First, please extend the stack size by using the -Xss JVM option. If this \
 166         doesn'''t solve the problem, please use the -debug option to obtain the stack trace and \
 167         contact Sun.
 168 
 169 # Not concatenated with any other string (written on a separate line).
 170 Driver.CompilingSchema = \
 171         compiling a schema...
 172 
 173 Driver.FailedToGenerateCode = \
 174         Failed to produce code.
 175 
 176 # DO NOT localize the 2.3.0-SNAPSHOT string - it is a token for an mvn <properties filter>
 177 Driver.FilePrologComment = \
 178         This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.0-SNAPSHOT \n\
 179         See <a href="https://jaxb.java.net/">https://jaxb.java.net/</a> \n\
 180         Any modifications to this file will be lost upon recompilation of the source schema. \n\
 181         Generated on: {0} \n
 182 
 183 Driver.Version = \
 184         xjc 2.3.0-SNAPSHOT
 185 
 186 Driver.FullVersion = \
 187         xjc full version "2.3.0-SNAPSHOT"
 188 
 189 Driver.BuildID = 2.3.0-SNAPSHOT
 190 
 191 # for JDK integration - include version in source zip
 192 jaxb.jdk.version=@@JAXB_JDK_VERSION@@
 193 
 194 # see java.text.SimpleDateFormat for format syntax
 195 # DO NOT LOCALIZE, Format should not be changed, English locale is used to transform this string into a real date.
 196 Driver.DateFormat = \
 197         yyyy.MM.dd
 198 
 199 # see java.text.SimpleDateFormat for format syntax
 200 # Format should not be changed, English locale is used to transform this string into a real time.
 201 Driver.TimeFormat = \
 202         hh:mm:ss a z
 203 
 204 # as in: "generated on <date> at <time>"
 205 Driver.At = \
 206         at
 207 
 208 # ERROR in this meaning is a well known level of logging and should not be translated.
 209 Driver.ErrorMessage = \
 210         [ERROR] {0}
 211 
 212 # WARNING in this meaning is a well known level of logging and should not be translated.
 213 Driver.WarningMessage = \
 214         [WARNING] {0}
 215 
 216 # INFO in this meaning is a well known level of logging and should not be translated.
 217 Driver.InfoMessage = \
 218         [INFO] {0}
 219 
 220 ModelLoader.TooManySchema = \
 221         Too many schema files for this schema language. Compile one file at a time.
 222 
 223 ModelLoader.BindingFileNotSupportedForRNC = \
 224     External binding files are not supported for the RELAX NG compact syntax.
 225 
 226 Driver.DefaultVersion = \
 227         Defaulting the version to JAXB 2.0
 228 
 229 Driver.DefaultPackageWarning = \
 230     Default Java package specified.  You will not be able to access the generated code from classes in any other package.
 231 
 232 Driver.NotAValidFileName = \
 233     "{0}" is not a valid file name: {1}
 234 
 235 Driver.FailedToParse = \
 236     Failed to parse "{0}": {1}
 237 
 238 Driver.NotAFileNorURL = \
 239     "{0}" is neither a file name nor a URL
 240 
 241 FIELD_RENDERER_CONFLICT = \
 242     "-{0}" and "-{1}" are mutually exclusive since both affect the code generation
 243 
 244 NAME_CONVERTER_CONFLICT = \
 245     "-{0}" and "-{1}" are mutually exclusive since both affect the code generation
 246 
 247 # {0} - file path, {1} - exception message e.g.: Failed to load "/foo/bar/Library.jar": File not found.
 248 FAILED_TO_LOAD = \
 249     Failed to load "{0}": {1}
 250 
 251 PLUGIN_LOAD_FAILURE = \
 252     Failure to load a plugin: "{0}". Use the system property ''-Dcom.sun.tools.internal.xjc.Options.findServices=true'' to \
 253     diagnose it further