man ecj-bootstrap (Commandes) - manual page for JDT Compiler

NAME

ejdtc - manual page for JDT Compiler

SYNOPSIS

jdtc <options> <source files>

DESCRIPTION

JDT Compiler is command version of Java compiler for eclipse. jdtc has basic java compiler options like SUN's javac.

OPTIONS

-help display a help message
-version compiler version number
-classpath <dir 1>;<dir 2>;...;<dir P>
-d <dir> destination directory (if omitted no package directory structure is created)
-d none
no classfile is generated

-target <ver> classfile target setting (1.1 or 1.2, default is 1.1)

-1.3 set compliance level to 1.3 (default)
-1.4 set compliance level to 1.4
-source <ver> assertions toggle (1.3 or 1.4, default is 1.3 in -1.3 mode and 1.4 in -1.4 mode)
-nowarn no warning (equivalent to '-warn:none')
-warn: <level> set warning level (e.g. '-warn:unusedLocals,deprecation')
constructorName
warn method with constructor name
packageDefaultMethod
warn attempt to override package-default method
deprecation
warn usage of deprecated type or member
maskedCatchBlocks
warn hidden catch block
unusedLocals
warn on unused local variable (never read)
unusedArguments
warn on unused method argument (never read)
unusedImports
warn on unused imports
syntheticAccess
warn when performing synthetic access for innerclass
assertIdentifier
warn occurrence of 'assert' used as identifier

-deprecation equivalent to -warn:deprecation. -g[:<level>] debug attributes level

-g
all debug info ('-g:lines,vars,source')
-g:none
no debug info
-g:[lines,vars,source]
selective debug info

-preserveAllLocals code gen preserve all local variables (for debug purpose)

-noImportError no errors for unresolved imports
-encoding specify default source encoding format (custom encoding can also be specifed on a per file basis by suffixing each input source file/folder name with '[encoding]')

-log <filename> specify a log file

-proceedOnError keep compiling when error, dumping class files with problem methods
-verbose print accessed/processed compilation units
-referenceInfo compute reference info
-progress show progress (only in -log mode)
-time display speed information
-noExit do not call System.exit(n) at end of compilation (n=0 if no error)
-repeat <n> repeat compilation process <n> times (perf analysis)

AUTHOR

This manual page was written by Takshi Okamoto and Jan Schulz <debian@katzien.de>.

CETTE PAGE DOCUMENTE AUSSI :