Repository: incubator-groovy Updated Branches: refs/heads/master cac3f7a75 -> 043f52a49
formatting Project: http://git-wip-us.apache.org/repos/asf/incubator-groovy/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-groovy/commit/043f52a4 Tree: http://git-wip-us.apache.org/repos/asf/incubator-groovy/tree/043f52a4 Diff: http://git-wip-us.apache.org/repos/asf/incubator-groovy/diff/043f52a4 Branch: refs/heads/master Commit: 043f52a493e4d4f7800c97c844a41fc9f3ae2f0b Parents: cac3f7a Author: Paul King <pa...@asert.com.au> Authored: Tue Jun 9 21:24:17 2015 +1000 Committer: Paul King <pa...@asert.com.au> Committed: Tue Jun 9 21:24:17 2015 +1000 ---------------------------------------------------------------------- src/spec/doc/tools-groovyc.adoc | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/043f52a4/src/spec/doc/tools-groovyc.adoc ---------------------------------------------------------------------- diff --git a/src/spec/doc/tools-groovyc.adoc b/src/spec/doc/tools-groovyc.adoc index 2a89e97..153131f 100644 --- a/src/spec/doc/tools-groovyc.adoc +++ b/src/spec/doc/tools-groovyc.adoc @@ -23,21 +23,21 @@ a number of command line switches: [cols="<,<,<,<",options="header,footer"] |======================================================================= -|Short version |Long version |Description |Example -|-cp |-classpath, --classpath | Specify the compilation classpath. Must be the first +| Short version | Long version | Description | Example +| -cp | -classpath, --classpath | Specify the compilation classpath. Must be the first argument. | groovyc -cp lib/dep.jar MyClass.groovy -| |--sourcepath* |Directory where to find source files|groovyc -sourcepath src script.groovy -| |--temp |Temporary directory for the compiler | -| |--encoding |Encoding of the source files |groovyc -encoding utf-8 script.groovy -| |--help |Displays help for the command line groovyc tool |groovyc --help -|-v|--version|Displays the compiler version|groovyc -v -|-e|--exception|Displays the stack trace in case of compilation error|groovyc -e script.groovy -|-j|--jointCompilation*|Enables joint compilation|groovyc -j A.groovy B.java -|-b|--basescript|Base class name for scripts (must derive from Script)| -|-indy|--indy|Enables invokedynamic support. Requires Java 7+|groovyc --indy Person.groovy -||--configscript|Advanced compiler configuration script|groovyc --configscript config/config.groovy src/Person.groovy -|-Jproperty=value||Properties to be passed to `javac` if joint compilation is enabled|groovyc -j -Jtarget=1.5 -Jsource=1.5 A.groovy B.java -|-Fflag||Flags to be passed to `javac` if joint compilation is enabled|groovyc -j -Fnowarn A.groovy B.java +| | --sourcepath* | Directory where to find source files | groovyc -sourcepath src script.groovy +| | --temp | Temporary directory for the compiler | +| | --encoding | Encoding of the source files | groovyc -encoding utf-8 script.groovy +| | --help | Displays help for the command line groovyc tool | groovyc --help +| -v | --version | Displays the compiler version | groovyc -v +| -e | --exception | Displays the stack trace in case of compilation error | groovyc -e script.groovy +| -j | --jointCompilation* | Enables joint compilation | groovyc -j A.groovy B.java +| -b | --basescript | Base class name for scripts (must derive from Script)| +| -indy | --indy | Enables invokedynamic support. Requires Java 7+ | groovyc --indy Person.groovy +| | --configscript | Advanced compiler configuration script | groovyc --configscript config/config.groovy src/Person.groovy +| -Jproperty=value | | Properties to be passed to `javac` if joint compilation is enabled | groovyc -j -Jtarget=1.5 -Jsource=1.5 A.groovy B.java +| -Fflag | | Flags to be passed to `javac` if joint compilation is enabled | groovyc -j -Fnowarn A.groovy B.java |======================================================================= *Notes:*