groovy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pascalschumac...@apache.org
Subject [1/2] groovy git commit: Documentation: minimal improvement of the groovyc section
Date Wed, 27 Jan 2016 22:51:10 GMT
Repository: groovy
Updated Branches:
  refs/heads/master 51504fa42 -> d26bdd416


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/e1c147ad
Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/e1c147ad
Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/e1c147ad

Branch: refs/heads/master
Commit: e1c147ade964114ea6433cbcb70621613838472d
Parents: 51504fa
Author: pascalschumacher <pascalschumacher@gmx.net>
Authored: Wed Jan 27 23:38:52 2016 +0100
Committer: pascalschumacher <pascalschumacher@gmx.net>
Committed: Wed Jan 27 23:38:52 2016 +0100

----------------------------------------------------------------------
 src/spec/doc/tools-groovyc.adoc | 13 +++++--------
 1 file changed, 5 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/groovy/blob/e1c147ad/src/spec/doc/tools-groovyc.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/tools-groovyc.adoc b/src/spec/doc/tools-groovyc.adoc
index 11954f0..dd6c6a6 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,14 +48,12 @@ 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
-| -pa | --parameters | Generates metadata for reflection on method parameter names on JDK
8 and above. Defaults to false. | groovyc --parameters Person.groovy
+| -pa | --parameters | Generates metadata for reflection on method parameter names. Requires
Java 8+. | groovyc --parameters Person.groovy
 |=======================================================================
 
 *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


Mime
View raw message