Repository: groovy
Updated Branches:
  refs/heads/GROOVY_2_4_X 87f23a8f3 -> b98672948


Documentation: minimal improvement of the groovyc section


Project: http://git-wip-us.apache.org/repos/asf/groovy/repo
Commit: http://git-wip-us.apache.org/repos/asf/groovy/commit/ea2436ea
Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/ea2436ea
Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/ea2436ea

Branch: refs/heads/GROOVY_2_4_X
Commit: ea2436ea95b1bc4b20c725b9cb4b816c4a269e52
Parents: 87f23a8
Author: pascalschumacher <[email protected]>
Authored: Wed Jan 27 23:38:52 2016 +0100
Committer: pascalschumacher <[email protected]>
Committed: Wed Jan 27 23:53:52 2016 +0100

----------------------------------------------------------------------
 src/spec/doc/tools-groovyc.adoc | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/groovy/blob/ea2436ea/src/spec/doc/tools-groovyc.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/tools-groovyc.adoc b/src/spec/doc/tools-groovyc.adoc
index 462c738..d42a9c0 100644
--- a/src/spec/doc/tools-groovyc.adoc
+++ b/src/spec/doc/tools-groovyc.adoc
@@ -37,11 +37,10 @@ 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
-argument. | groovyc -cp lib/dep.jar MyClass.groovy
-| | --sourcepath* | Directory where to find source files | groovyc -sourcepath 
src script.groovy
+| -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. Not used anymore. 
Specifying this parameter will have no effect. |
 | | --temp | Temporary directory for the compiler |
-| | --encoding | Encoding of the source files | groovyc -encoding utf-8 
script.groovy
+| | --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
@@ -49,13 +48,11 @@ argument. | groovyc -cp lib/dep.jar MyClass.groovy
 | -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
+| -Jproperty=value | | Properties to be passed to `javac` if joint compilation 
is enabled | groovyc -j -Jtarget=1.6 -Jsource=1.6 A.groovy B.java
 | -Fflag | | Flags to be passed to `javac` if joint compilation is enabled | 
groovyc -j -Fnowarn A.groovy B.java
 |=======================================================================
 
 *Notes:*
-
-* `sourcepath` is not used anymore. Specifying this parameter will have no 
effect on compilation.
 * for a full description of joint compilation, see 
<<section-jointcompilation,the joint compilation section>>.
 
 == Ant task

Reply via email to