Repository: groovy Updated Branches: refs/heads/master f227b267e -> 6b2051ea5
Use the recommended option for groovydoc Project: http://git-wip-us.apache.org/repos/asf/groovy/repo Commit: http://git-wip-us.apache.org/repos/asf/groovy/commit/6b2051ea Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/6b2051ea Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/6b2051ea Branch: refs/heads/master Commit: 6b2051ea5359019729a79a1362ca7f9f3e266a48 Parents: f227b26 Author: sunlan <[email protected]> Authored: Sat Jun 10 13:08:58 2017 +0800 Committer: sunlan <[email protected]> Committed: Sat Jun 10 13:08:58 2017 +0800 ---------------------------------------------------------------------- subprojects/groovy-console/build.gradle | 2 +- subprojects/parser-antlr4/README.adoc | 3 ++- subprojects/parser-antlr4/build.gradle | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/groovy/blob/6b2051ea/subprojects/groovy-console/build.gradle ---------------------------------------------------------------------- diff --git a/subprojects/groovy-console/build.gradle b/subprojects/groovy-console/build.gradle index e40766e..bc38c53 100644 --- a/subprojects/groovy-console/build.gradle +++ b/subprojects/groovy-console/build.gradle @@ -28,7 +28,7 @@ dependencies { task console(type: JavaExec, dependsOn:classes) { if (rootProject.hasProperty('useAntlr4')) { - jvmArgs += ["-Dgroovy.antlr4=true", "-Dgroovy.extract.doc.comment=true"] + jvmArgs += ["-Dgroovy.antlr4=true", "-Dgroovy.attach.groovydoc=true"] } main = 'groovy.ui.Console' http://git-wip-us.apache.org/repos/asf/groovy/blob/6b2051ea/subprojects/parser-antlr4/README.adoc ---------------------------------------------------------------------- diff --git a/subprojects/parser-antlr4/README.adoc b/subprojects/parser-antlr4/README.adoc index 4170426..50a3639 100644 --- a/subprojects/parser-antlr4/README.adoc +++ b/subprojects/parser-antlr4/README.adoc @@ -53,7 +53,8 @@ groovyOptions.forkOptions.jvmArgs += ["-Dgroovy.antlr4=true"] === JVM system properties to control parsing * `groovy.antlr4.cache.threshold`: how frequently to clear DFA cache(default: 50). **Notice:** The more frequently the DFA cache is cleared, the poorer parsing performance will be(you can not set the value that is less than the default value). But the DFA cache has to be cleared to avoid OutOfMemoryError's occurring. -* `groovy.extract.doc.comment`: whether to collect groovydoc while parsing groovy source code(default: false) +* `groovy.attach.groovydoc`: whether to attach groovydoc to node as metadata while parsing groovy source code(default: false) +* `groovy.attach.runtime.groovydoc`: whether to attach `@Groovydoc` annotation to all members which have groovydoc(i.e. `/** ... */`). *P.S. Parrot is based on the highly optimized version of antlr4(com.tunnelvisionlabs:antlr4), which is licensed under BSD.* \ No newline at end of file http://git-wip-us.apache.org/repos/asf/groovy/blob/6b2051ea/subprojects/parser-antlr4/build.gradle ---------------------------------------------------------------------- diff --git a/subprojects/parser-antlr4/build.gradle b/subprojects/parser-antlr4/build.gradle index ca4c262..5a50dcb 100644 --- a/subprojects/parser-antlr4/build.gradle +++ b/subprojects/parser-antlr4/build.gradle @@ -73,5 +73,5 @@ allprojects { } test { - jvmArgs "-Dgroovy.extract.doc.comment=true", "-Dgroovy.antlr4.cache.threshold=100" + jvmArgs "-Dgroovy.attach.groovydoc=true", "-Dgroovy.antlr4.cache.threshold=100" } \ No newline at end of file
