1 ###############################################################################
 
   2 # Copyright (c) 2000, 2004 IBM Corporation and others.
 
   3 # All rights reserved. This program and the accompanying materials 
 
   4 # are made available under the terms of the Common Public License v1.0
 
   5 # which accompanies this distribution, and is available at
 
   6 # http://www.eclipse.org/legal/cpl-v10.html
 
   9 #     IBM Corporation - initial API and implementation
 
  10 ###############################################################################
 
  11 ### JavaBatchCompiler messages.
 
  14 compiler.name = Eclipse Java Compiler
 
  15 compiler.version = 0.452_R30x
 
  16 compiler.copyright = Copyright IBM Corp 2000, 2004. All rights reserved.
 
  19 scanning.start = Collecting source files inside {0}
 
  22 progress.compiling = Compiling
 
  25 compile.repetition = [repetition {0}/{1}]
 
  26 compile.instantTime = [compiled {0} lines in {1} ms: {2} lines/s]
 
  27 compile.totalTime = [total compilation time: {0}]
 
  28 compile.oneProblem = 1 problem
 
  29 compile.severalProblems = {0} problems
 
  30 compile.oneError = 1 error
 
  31 compile.severalErrors = {0} errors
 
  32 compile.oneWarning = 1 warning
 
  33 compile.severalWarnings = {0} warnings
 
  34 compile.oneClassFileGenerated = [1 .class file generated]
 
  35 compile.severalClassFilesGenerated = [{0} .class files generated]
 
  38 configure.requiresJDK1.2orAbove = Need to use a JVM >= 1.2
 
  39 configure.duplicateLog = duplicate log specification: {0}
 
  40 configure.duplicateRepeat = duplicate repeat specification: {0}
 
  41 configure.duplicateMaxProblems = duplicate max problems specification: {0}
 
  42 configure.duplicateCompliance = duplicate compliance setting specification: {0}
 
  43 configure.source = invalid source option, source is either ''1.3'' or ''1.4'': {0}
 
  44 configure.duplicateOutputPath = duplicate output path specification: {0}
 
  45 configure.duplicateBootClasspath = duplicate bootclasspath specification: {0}
 
  46 configure.invalidDebugOption = invalid debug option: {0}
 
  47 configure.invalidWarningConfiguration = invalid warning configuration: {0}
 
  48 configure.invalidWarning = invalid warning: {0}
 
  49 configure.invalidWarningOption = invalid warning option: {0}
 
  50 configure.targetJDK = target JDK should be comprised in between ''1.1'' and ''1.4'': {0}
 
  51 configure.incompatibleTargetForSource14 = ''1.4'' source mode requires ''-target 1.4'' : {0}
 
  52 configure.incompatibleComplianceForSource14 = ''1.4'' source mode requires ''-1.4'' compliance mode: {0}
 
  53 configure.incompatibleComplianceForTarget14 = ''1.4'' target mode requires ''-1.4'' compliance mode: {0}
 
  54 configure.incompatibleComplianceForTarget11 = ''1.1'' target mode requires ''-1.3'' compliance mode: {0}
 
  55 configure.repetition = repetition must be a positive integer: {0}
 
  56 configure.maxProblems = max problems must be a positive integer: {0}
 
  57 configure.directoryNotExist = directory does not exist: {0}
 
  58 configure.IOError = i/o error : unable to retrieve .JAVA files in directory: {0}
 
  59 configure.noClasspath = no classpath defined, using default directory instead
 
  60 configure.incorrectClasspath = incorrect classpath: {0}
 
  61 configure.invalidexpansionargumentname = expansion argument file {0} doesn't exist or cannot be read
 
  62 configure.cannotOpenLog = cannot open .log file
 
  63 configure.unexpectedCustomEncoding = unexpected custom encoding specification: {0}[{1}]
 
  64 configure.unsupportedEncoding = unsupported encoding format: {0}
 
  65 configure.duplicateDefaultEncoding = duplicate default encoding format specification: {0}
 
  66 configure.invalidTaskTag ={0} is an invalid task tag
 
  69 requestor.error = ERROR
 
  70 requestor.warning = WARNING
 
  72 requestor.notRetrieveErrorMessage = Cannot retrieve the error message for {0}
 
  75 unit.more = File {0} is specified more than once
 
  76 unit.missing = File {0} is missing
 
  79 output.noClassFileCreated = No .class file created for file named {0} because of an IOException.
 
  82 misc.version = {compiler.name} {compiler.version}, {compiler.copyright}
 
  83 misc.usage = {compiler.name} {compiler.version}, {compiler.copyright}\n\
 
  85 \ Usage: <options> <source files | directories>\n\
 
  86 \ If directories are specified, then their source contents are compiled.\n\
 
  87 \ Possible options are listed below. Options enabled by default are prefixed with ''+''\n\
 
  89 \ Classpath options:\n\
 
  90 \    -cp -classpath <directories and zip/jar files separated by {0}>\n\
 
  91 \                       specify location for application classes and sources\n\
 
  92 \    -bootclasspath <directories and zip/jar files separated by {0}>\n\
 
  93 \                       specify location for system classes\n\
 
  94 \    -d <dir>           destination directory (if omitted, no directory is created)\n\
 
  95 \    -d none            generate no .class files\n\
 
  96 \    -encoding <enc>    specify custom encoding for all sources. Each file/directory can override it\n\
 
  97 \                       when suffixed with ''[''<enc>'']'' (e.g. X.java[utf8])\n\
 
  99 \ Compliance options:\n\
 
 100 \    -1.3               use 1.3 compliance level (implicit -source 1.3 -target 1.1)\n\
 
 101 \    -1.4             + use 1.4 compliance level (implicit -source 1.3 -target 1.2)\n\
 
 102 \    -source <version>  set source level (1.3 or 1.4)\n\
 
 103 \    -target <version>  set classfile target (1.1 to 1.4)\n\
 
 105 \ Warning options:\n\
 
 106 \    -deprecation     + deprecation outside deprecated code\n\
 
 107 \    -nowarn            disable all warnings\n\
 
 108 \    -warn:none         disable all warnings\n\
 
 109 \    -warn:<warnings separated by ,>    enable exactly the listed warnings\n\
 
 110 \    -warn:+<warnings separated by ,>   enable additional warnings\n\
 
 111 \    -warn:-<warnings separated by ,>   disable specific warnings\n\
 
 112 \      allDeprecation       deprecation including inside deprecated code\n\
 
 113 \      allJavadoc           invalid or missing javadoc\n\
 
 114 \      assertIdentifier   + ''assert'' used as identifier\n\
 
 115 \      charConcat         + char[] in String concat\n\
 
 116 \      conditionAssign      possible accidental boolean assignment\n\
 
 117 \      constructorName    + method with constructor name\n\
 
 118 \      deprecation        + deprecation outside deprecated code\n\
 
 119 \      emptyBlock           undocumented empty block\n\
 
 120 \      fieldHiding          field hiding another variable\n\
 
 121 \      finally            + finally block not completing normally\n\
 
 122 \      indirectStatic       indirect reference to static member\n\
 
 123 \      intfNonInherited   + interface non-inherited method compatibility\n\
 
 124 \      javadoc              invalid javadoc\n\
 
 125 \      localHiding          local variable hiding another variable\n\
 
 126 \      maskedCatchBlock   + hidden catch block\n\
 
 127 \      nls                  string literal lacking non-nls tag //$NON-NLS-<n>$\n\
 
 128 \      noEffectAssign     + assignment without effect\n\
 
 129 \      pkgDefaultMethod   + attempt to override package-default method\n\
 
 130 \      semicolon            unnecessary semicolon, empty statement\n\
 
 131 \      unqualifiedField     unqualified reference to field\n\
 
 132 \      unusedImport       + unused import declaration\n\
 
 133 \      unusedLocal          unread local variable\n\
 
 134 \      unusedPrivate        unused private member declaration\n\
 
 135 \      unusedThrown         unused declared thrown exception\n\
 
 136 \      unnecessaryElse      unnecessary else clause\n\
 
 137 \      uselessTypeCheck     unnecessary cast/instanceof operation\n\
 
 138 \      specialParamHiding   constructor or setter parameter hiding another field\n\
 
 139 \      staticReceiver     + non-static reference to static member\n\
 
 140 \      syntheticAccess      synthetic access for innerclass\n\
 
 141 \      tasks(<tags separated by |>) tasks identified by tags inside comments\n\
 
 144 \    -g[:lines,vars,source] custom debug info\n\
 
 145 \    -g:lines,source  + both lines table and source debug info\n\
 
 146 \    -g                 all debug info\n\
 
 147 \    -g:none            no debug info\n\
 
 148 \    -preserveAllLocals preserve unused local vars for debug purpose\n\
 
 150 \ Advanced options:\n\
 
 151 \    @<file>            read command line arguments from file\n\
 
 152 \    -maxProblems <n>   max number of problems per compilation unit (100 by default)\n\
 
 153 \    -log <file>        log to a file\n\
 
 154 \    -proceedOnError    do not stop at first error, dumping class files with problem methods\n\
 
 155 \    -verbose           enable verbose output\n\
 
 156 \    -referenceInfo     compute reference info\n\
 
 157 \    -progress          show progress (only in -log mode)\n\
 
 158 \    -time              display speed information \n\
 
 159 \    -noExit            do not call System.exit(n) at end of compilation (n==0 if no error)\n\
 
 160 \    -repeat <n>        repeat compilation process <n> times for perf analysis\n\
 
 161 \    -inlineJSR         inline JSR bytecode\n\
 
 162 \    -enableJavadoc     consider references in javadoc\n\
 
 164 \    -? -help           print this help message\n\
 
 165 \    -v -version        print compiler version\n\
 
 166 \    -showversion       print compiler version and continue\n