Groovy 2.0 with modularisation uploaded to snapshot repository

classic Classic list List threaded Threaded
40 messages Options
1234
Reply | Threaded
Open this post in threaded view
|

Groovy 2.0 with modularisation uploaded to snapshot repository

Cédric Champeau
Hi mates!

I have just finished the final step in migrating the "modularisation" branch of Groovy to Gradle. A snapshot of that version has just been uploaded to the codehaus snapshot repository. The upload has been made from my computer, that is to say not from Bamboo, which also means that *future automatic uploads will not be based on the modularisation branch*.

What are the differences?
    - groovy is now split into modules
    - the "groovy" artifact refers to the "core groovy"
    - plus some "groovy-xyz" artifacts for modules
      * groovy-console
      * groovy-swing
      * groovy-servlet
      * groovy-groovydoc
      * groovy-groovysh
      * groovy-json
      * groovy-templates
      * groovy-jmx
      * groovy-test
      * groovy-sql
      * groovy-xml
      * groovy-jsr223
      * groovy-testng
      * groovy-ant
      * groovy-docgenerator
      * groovy-bsf
    - of course, the "groovy-all" jar still exists, and merges all those modules into a single jar

For each module, you should find:
    * the jar of the module
    * the javadocs
    * the groovydocs
    * and a "-indy" classifier jar which corresponds to the invokedynamic-enabled version of this jar

As there has been a lot of work for this version, we would like you to test it if possible, and check that everything is ok for you. In particular, as we splitted Groovy into modules, we also added an extension mechanism which allows you to write "DGM-like" methods and have them registered automatically, and some modules already use that feature. You would find, for example, StringGroovyMethods, SqlGroovyMethods, SwingGroovyMethods, ...

Upload is done by Gradle, and pom.xml files are generated by Maven too, so do not hesitate to review them and check if something looks suspicious to you.

As I said, this upload is unique in the sense that it's the only snapshot which is based on the modularisation branch. It is very likely that soon next week, we will merge modularisation into master, which will:
   
    - prepare the work for RC1 but...
    - drop support for the "old" ant build
    - require you to build with jdk 7 (even if generated artifacts are compatible with jdk 1.5 for non indy versions)
    - break the existing bamboo builds (as they are based on Ant)

Alternatively, you can help by checking out the modularisation branch. In that case, you can build groovy using the following command:

./gradlew clean dist

or, if you want to run unit tests,

./gradlew clean test

The "dist", "install" and "uploadArchives" tasks automatically generate invokedynamic enabled artifacts. For all other tasks, you can choose to activate indy using the "indy" project property:

./gradlew -Pindy=true clean test

The "dist" task will generate a zip file corresponding to the Groovy distribution. Just unzip it, and check that everything works fine for you!

Thanks for your help, and special kudos to Paul who did a great job on modularisation!

-- 
Cédric Champeau
SpringSource - A Division Of VMware
http://www.springsource.com/
http://twitter.com/CedricChampeau
Reply | Threaded
Open this post in threaded view
|

Re: Groovy 2.0 with modularisation uploaded to snapshot repository

paulk_asert
On 26/05/2012 2:43 AM, Cédric Champeau wrote:
> Thanks for your help, and special kudos to Paul who did a great job on modularisation!

And a big thank you to you Cédric for getting this across the line.
I was struggling to find the time for that last push across the line.
Great work!!

Cheers, Paul.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|

Re: Groovy 2.0 with modularisation uploaded to snapshot repository

Gavin Grover
In reply to this post by Cédric Champeau
> In particular, as we splitted Groovy into modules, we also added an
> extension mechanism which allows you to write "DGM-like" methods and
> have them registered automatically, and some modules already use
> that feature. You would find, for example, StringGroovyMethods,
> SqlGroovyMethods, SwingGroovyMethods, ...


Are we able to use methods from Google Guava as DGM-like methods, or will we be able to in the future?

Gavin Grover
Groovy Language reboot
http://groovy.codeplex.com/

[hidden email]


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|

Re: Groovy 2.0 with modularisation uploaded to snapshot repository

paulk_asert

If parts of the Guava library were compatible with Groovy's
DGM conventions and the Guava library included the appropriate
Groovy META-INF information in their distribution jar then
you would be able to use them as DGM-like methods now.

What is most likely to happen in many cases is that someone
will write a Groovy module which contains just the Groovy
META-INF information plus any bridging/glue classes to realign the
Api with Groovy DGM conventions and publish that somewhere with a
pom depending on the respective underlying maven artifacts (e.g.
pointing to the Guava artifacts for the example you mentioned).

There is no such module at present (2.0 timeframes) for Guava but
given its popularity as a library, it is certainly one that I am
sure there would be interest in at some point down the track.

Cheers, Paul.

On 26/05/2012 8:50 AM, Gavin Grover wrote:

>>   In particular, as we splitted Groovy into modules, we also added an
>>   extension mechanism which allows you to write "DGM-like" methods and
>>   have them registered automatically, and some modules already use
>>   that feature. You would find, for example, StringGroovyMethods,
>>   SqlGroovyMethods, SwingGroovyMethods, ...
>
>
> Are we able to use methods from Google Guava as DGM-like methods, or will we be able to in the future?
>
> Gavin Grover
> Groovy Language reboot
> http://groovy.codeplex.com/
>
> [hidden email]
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>      http://xircles.codehaus.org/manage_email
>
>
>


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|

Re: Groovy 2.0 with modularisation uploaded to snapshot repository

Russel Winder-3
In reply to this post by Cédric Champeau
On Fri, 2012-05-25 at 18:43 +0200, Cédric Champeau wrote:
[...]
> Alternatively, you can help by checking out the modularisation branch.
> In that case, you can build groovy using the following command:

OK, I will switch immediately to using the modularization branch. Is
there an installAll target for groovy as there is for gradle so that you
can create a full working local installation including documentation
just by specifying the location in which is should reside?

[...]

--
Russel.
=============================================================================
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:[hidden email]
41 Buckmaster Road    m: +44 7770 465 077   xmpp: [hidden email]
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder

signature.asc (205 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Groovy 2.0 with modularisation uploaded to snapshot repository

Russel Winder-3
In reply to this post by Cédric Champeau
Cédric,

"gradlew installGroovy" fails for me :-((

|> gradlew installGroovy
:buildSrc:compileJava UP-TO-DATE
:buildSrc:compileGroovy UP-TO-DATE
:buildSrc:processResources UP-TO-DATE
:buildSrc:classes UP-TO-DATE
:buildSrc:jar UP-TO-DATE
:buildSrc:assemble UP-TO-DATE
:buildSrc:compileTestJava UP-TO-DATE
:buildSrc:compileTestGroovy UP-TO-DATE
:buildSrc:processTestResources UP-TO-DATE
:buildSrc:testClasses UP-TO-DATE
:buildSrc:test UP-TO-DATE
:buildSrc:check UP-TO-DATE
:buildSrc:build UP-TO-DATE
:compileCompilerJava
warning: [options] bootstrap class path not set in conjunction with
-source 1.5
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:24: error: package org.codehaus.groovy.antlr.parser does not exist
import org.codehaus.groovy.antlr.parser.GroovyLexer;
                                       ^
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:25: error: package org.codehaus.groovy.antlr.parser does not exist
import org.codehaus.groovy.antlr.parser.GroovyRecognizer;
                                       ^
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:26: error: package org.codehaus.groovy.antlr.parser does not exist
import org.codehaus.groovy.antlr.parser.GroovyTokenTypes;
                                       ^
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:56: error: cannot find symbol
public class AntlrParserPlugin extends ASTHelper implements
ParserPlugin, GroovyTokenTypes {

^
  symbol: class GroovyTokenTypes
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/Main.java:24: error: package org.codehaus.groovy.antlr.parser does not exist
import org.codehaus.groovy.antlr.parser.GroovyLexer;
                                       ^
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/Main.java:25: error: package org.codehaus.groovy.antlr.parser does not exist
import org.codehaus.groovy.antlr.parser.GroovyRecognizer;
                                       ^
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/Main.java:110: error: cannot find symbol
    public static void parseFile(String f, GroovyLexer l, SourceBuffer
sourceBuffer)
                                           ^
  symbol:   class GroovyLexer
  location: class Main
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/LexerFrame.java:27: error: package org.codehaus.groovy.antlr.parser does not exist
import org.codehaus.groovy.antlr.parser.*;
^
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/treewalker/NodeAsHTMLPrinter.java:22: error: package org.codehaus.groovy.antlr.parser does not exist
import org.codehaus.groovy.antlr.parser.GroovyTokenTypes;
                                       ^
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/treewalker/TraversalHelper.java:23: error: package org.codehaus.groovy.antlr.parser does not exist
import org.codehaus.groovy.antlr.parser.GroovyTokenTypes;
                                       ^
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/treewalker/MindMapPrinter.java:21: error: package org.codehaus.groovy.antlr.parser does not exist
import org.codehaus.groovy.antlr.parser.GroovyTokenTypes;
                                       ^
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/treewalker/SourceCodeTraversal.java:22: error: package org.codehaus.groovy.antlr.parser does not exist
import org.codehaus.groovy.antlr.parser.GroovyTokenTypes;
                                       ^
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/treewalker/SourcePrinter.java:23: error: package org.codehaus.groovy.antlr.parser does not exist
import org.codehaus.groovy.antlr.parser.GroovyTokenTypes;
                                       ^
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/java/Java2GroovyConverter.java:20: error: package org.codehaus.groovy.antlr.parser does not exist
import org.codehaus.groovy.antlr.parser.GroovyTokenTypes;
                                       ^
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/java/Java2GroovyMain.java:25: error: package org.codehaus.groovy.antlr.parser does not exist
import org.codehaus.groovy.antlr.parser.GroovyLexer;
                                       ^
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/java/Java2GroovyMain.java:26: error: package org.codehaus.groovy.antlr.parser does not exist
import org.codehaus.groovy.antlr.parser.GroovyRecognizer;
                                       ^
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/java/Java2GroovyMain.java:149: error: cannot find symbol
    private static JavaRecognizer getJavaParser(String input) {
                   ^
  symbol:   class JavaRecognizer
  location: class Java2GroovyMain
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/java/Groovifier.java:20: error: package org.codehaus.groovy.antlr.parser does not exist
import org.codehaus.groovy.antlr.parser.GroovyTokenTypes;
                                       ^
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/java/Groovifier.java:23: error: cannot find symbol
public class Groovifier extends VisitorAdapter implements
GroovyTokenTypes {
                                                          ^
  symbol: class GroovyTokenTypes
/home/users/russel/Repositories/Git/Clones/GroovyCore/subprojects/groovy-groovydoc/src/main/java/org/codehaus/groovy/tools/groovydoc/GroovyRootDocBuilder.java:26: error: cannot find symbol
import org.codehaus.groovy.antlr.java.JavaLexer;
                                     ^
  symbol:   class JavaLexer
  location: package org.codehaus.groovy.antlr.java
/home/users/russel/Repositories/Git/Clones/GroovyCore/subprojects/groovy-groovydoc/src/main/java/org/codehaus/groovy/tools/groovydoc/GroovyRootDocBuilder.java:27: error: cannot find symbol
import org.codehaus.groovy.antlr.java.JavaRecognizer;
                                     ^
  symbol:   class JavaRecognizer
  location: package org.codehaus.groovy.antlr.java
/home/users/russel/Repositories/Git/Clones/GroovyCore/subprojects/groovy-groovydoc/src/main/java/org/codehaus/groovy/tools/groovydoc/GroovyRootDocBuilder.java:28: error: package org.codehaus.groovy.antlr.parser does not exist
import org.codehaus.groovy.antlr.parser.GroovyLexer;
                                       ^
/home/users/russel/Repositories/Git/Clones/GroovyCore/subprojects/groovy-groovydoc/src/main/java/org/codehaus/groovy/tools/groovydoc/GroovyRootDocBuilder.java:29: error: package org.codehaus.groovy.antlr.parser does not exist
import org.codehaus.groovy.antlr.parser.GroovyRecognizer;
                                       ^
/home/users/russel/Repositories/Git/Clones/GroovyCore/subprojects/groovy-groovydoc/src/main/java/org/codehaus/groovy/tools/groovydoc/SimpleGroovyDoc.java:18: error: package org.codehaus.groovy.antlr.parser does not exist
import org.codehaus.groovy.antlr.parser.GroovyTokenTypes;
                                       ^
/home/users/russel/Repositories/Git/Clones/GroovyCore/subprojects/groovy-groovydoc/src/main/java/org/codehaus/groovy/tools/groovydoc/SimpleGroovyDoc.java:27: error: cannot find symbol
public class SimpleGroovyDoc implements GroovyDoc, GroovyTokenTypes {
                                                   ^
  symbol: class GroovyTokenTypes
/home/users/russel/Repositories/Git/Clones/GroovyCore/subprojects/groovy-groovydoc/src/main/java/org/codehaus/groovy/tools/groovydoc/GroovyRootDocBuilder.java:134: error: cannot find symbol
    private JavaRecognizer getJavaParser(String input, SourceBuffer
sourceBuffer) {
            ^
  symbol:   class JavaRecognizer
  location: class GroovyRootDocBuilder
/home/users/russel/Repositories/Git/Clones/GroovyCore/subprojects/groovy-groovydoc/src/main/java/org/codehaus/groovy/tools/groovydoc/GroovyRootDocBuilder.java:143: error: cannot find symbol
    private GroovyRecognizer getGroovyParser(String input, SourceBuffer
sourceBuffer) {
            ^
  symbol:   class GroovyRecognizer
  location: class GroovyRootDocBuilder
/home/users/russel/Repositories/Git/Clones/GroovyCore/subprojects/groovy-groovydoc/src/main/java/org/codehaus/groovy/tools/groovydoc/SimpleGroovyClassDocAssembler.java:22: error: package org.codehaus.groovy.antlr.parser does not exist
import org.codehaus.groovy.antlr.parser.GroovyTokenTypes;
                                       ^
/home/users/russel/Repositories/Git/Clones/GroovyCore/subprojects/groovy-groovydoc/src/main/java/org/codehaus/groovy/tools/groovydoc/SimpleGroovyClassDocAssembler.java:32: error: cannot find symbol
public class SimpleGroovyClassDocAssembler extends VisitorAdapter
implements GroovyTokenTypes {

^
  symbol: class GroovyTokenTypes
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:121: error: cannot find symbol
        GroovyLexer lexer = new GroovyLexer(inputState);
        ^
  symbol:   class GroovyLexer
  location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:121: error: cannot find symbol
        GroovyLexer lexer = new GroovyLexer(inputState);
                                ^
  symbol:   class GroovyLexer
  location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:123: error: cannot find symbol
        GroovyRecognizer parser = GroovyRecognizer.make(lexer);
        ^
  symbol:   class GroovyRecognizer
  location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:123: error: cannot find symbol
        GroovyRecognizer parser = GroovyRecognizer.make(lexer);
                                  ^
  symbol:   variable GroovyRecognizer
  location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:274: error: cannot find symbol
                case PACKAGE_DEF:
                     ^
  symbol:   variable PACKAGE_DEF
  location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:278: error: cannot find symbol
                case STATIC_IMPORT:
                     ^
  symbol:   variable STATIC_IMPORT
  location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:279: error: cannot find symbol
                case IMPORT:
                     ^
  symbol:   variable IMPORT
  location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:283: error: cannot find symbol
                case CLASS_DEF:
                     ^
  symbol:   variable CLASS_DEF
  location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:287: error: cannot find symbol
                case INTERFACE_DEF:
                     ^
  symbol:   variable INTERFACE_DEF
  location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:291: error: cannot find symbol
                case METHOD_DEF:
                     ^
  symbol:   variable METHOD_DEF
  location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:295: error: cannot find symbol
                case ENUM_DEF:
                     ^
  symbol:   variable ENUM_DEF
  location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:299: error: cannot find symbol
                case ANNOTATION_DEF:
                     ^
  symbol:   variable ANNOTATION_DEF
  location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:318: error: cannot find symbol
        if (isType(ANNOTATIONS, node)) {
                   ^
  symbol:   variable ANNOTATIONS
  location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:329: error: cannot find symbol
        boolean isStatic = importNode.getType() == STATIC_IMPORT;
                                                   ^
  symbol:   variable STATIC_IMPORT
  location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:333: error: cannot find symbol
        if (isType(ANNOTATIONS, node)) {
                   ^
  symbol:   variable ANNOTATIONS
  location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:339: error: cannot find symbol
        if (isType(LITERAL_as, node)) {
                   ^
  symbol:   variable LITERAL_as
  location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:358: error: cannot find symbol
        if (isType(STAR, nameNode)) {
                   ^
  symbol:   variable STAR
  location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:393: error: cannot find symbol
            if (isType(ANNOTATION, child))
                       ^
  symbol:   variable ANNOTATION
  location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:403: error: cannot find symbol
        if (isType(MODIFIERS, node)) {
                   ^
  symbol:   variable MODIFIERS
  location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:415: error: cannot find symbol
        if (isType(TYPE_PARAMETERS, node)) {
                   ^
  symbol:   variable TYPE_PARAMETERS
  location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:421: error: cannot find symbol
        if (isType(EXTENDS_CLAUSE, node)) {
                   ^
  symbol:   variable EXTENDS_CLAUSE
  location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:435: error: cannot find symbol
        assertNodeType(OBJBLOCK, node);
                       ^
  symbol:   variable OBJBLOCK
  location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:452: error: cannot find symbol
        if (isType(MODIFIERS, node)) {
                   ^
  symbol:   variable MODIFIERS
  location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:464: error: cannot find symbol
        if (isType(TYPE_PARAMETERS, node)) {
                   ^
  symbol:   variable TYPE_PARAMETERS
  location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:470: error: cannot find symbol
        if (isType(EXTENDS_CLAUSE, node)) {
                   ^
  symbol:   variable EXTENDS_CLAUSE
  location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:492: error: cannot find symbol
        assertNodeType(OBJBLOCK, node);
                       ^
  symbol:   variable OBJBLOCK
  location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:524: error: cannot find symbol
        assertNodeType(OBJBLOCK, node);
                       ^
  symbol:   variable OBJBLOCK
  location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:538: error: cannot find symbol
        if (isType(MODIFIERS, node)) {
                   ^
  symbol:   variable MODIFIERS
  location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:548: error: cannot find symbol
        if (isType(TYPE_PARAMETERS, node)) {
                   ^
  symbol:   variable TYPE_PARAMETERS
  location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:554: error: cannot find symbol
        if (isType(EXTENDS_CLAUSE, node)) {
                   ^
  symbol:   variable EXTENDS_CLAUSE
  location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:560: error: cannot find symbol
        if (isType(IMPLEMENTS_CLAUSE, node)) {
                   ^
  symbol:   variable IMPLEMENTS_CLAUSE
  location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:590: error: cannot find symbol
        assertNodeType(OBJBLOCK, node);
                       ^
  symbol:   variable OBJBLOCK
  location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:601: error: cannot find symbol
                case OBJBLOCK:
                     ^
  symbol:   variable OBJBLOCK
  location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:605: error: cannot find symbol
                case ANNOTATION_FIELD_DEF:
                     ^
  symbol:   variable ANNOTATION_FIELD_DEF
  location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:606: error: cannot find symbol
                case METHOD_DEF:
                     ^
  symbol:   variable METHOD_DEF
  location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:610: error: cannot find symbol
                case CTOR_IDENT:
                     ^
  symbol:   variable CTOR_IDENT
  location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:614: error: cannot find symbol
                case VARIABLE_DEF:
                     ^
  symbol:   variable VARIABLE_DEF
  location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:618: error: cannot find symbol
                case STATIC_INIT:
                     ^
  symbol:   variable STATIC_INIT
  location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:622: error: cannot find symbol
                case INSTANCE_INIT:
                     ^
  symbol:   variable INSTANCE_INIT
  location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:626: error: cannot find symbol
                case ENUM_DEF:
                     ^
  symbol:   variable ENUM_DEF
  location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:630: error: cannot find symbol
                case ENUM_CONSTANT_DEF:
                     ^
  symbol:   variable ENUM_CONSTANT_DEF
  location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:634: error: cannot find symbol
                case CLASS_DEF:
                     ^
  symbol:   variable CLASS_DEF
  location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:638: error: cannot find symbol
                case INTERFACE_DEF:
                     ^
  symbol:   variable INTERFACE_DEF
  location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:649: error: cannot find symbol
        assertNodeType(ENUM_DEF, enumNode);
                       ^
  symbol:   variable ENUM_DEF
  location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:654: error: cannot find symbol
        if (isType(MODIFIERS, node)) {
                   ^
  symbol:   variable MODIFIERS
  location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:674: error: cannot find symbol
        assertNodeType(OBJBLOCK, node);
                       ^
  symbol:   variable OBJBLOCK
  location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:683: error: cannot find symbol
        assertNodeType(ENUM_CONSTANT_DEF, node);
                       ^
  symbol:   variable ENUM_CONSTANT_DEF
  location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:685: error: cannot find symbol
        if (isType(ANNOTATIONS, element)) {
                   ^
  symbol:   variable ANNOTATIONS
  location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:706: error: cannot find symbol
            } else if (isType(ELIST, element)) {
                              ^
  symbol:   variable ELIST
  location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:720: error: cannot find symbol
        if (isType(DOT, node)) {
                   ^
  symbol:   variable DOT
  location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:737: error: cannot find symbol
        if (isType(TYPE_PARAMETERS, node)) {
                   ^
  symbol:   variable TYPE_PARAMETERS
  location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:743: error: cannot find symbol
        if (isType(MODIFIERS, node)) {
                   ^
  symbol:   variable MODIFIERS
  location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:754: error: cannot find symbol
        if (isType(TYPE, node)) {
                   ^
  symbol:   variable TYPE
  location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:776: error: cannot find symbol
            assertNodeType(PARAMETERS, node);
                           ^
  symbol:   variable PARAMETERS
  location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:781: error: cannot find symbol
            if (isType(LITERAL_throws, node)) {
                       ^
  symbol:   variable LITERAL_throws
  location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:796: error: cannot find symbol
            assertNodeType(SLIST, node);
                           ^
  symbol:   variable SLIST
  location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:847: error: cannot find symbol
        if (isType(MODIFIERS, node)) {
                   ^
  symbol:   variable MODIFIERS
  location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:856: error: cannot find symbol
        assertNodeType(PARAMETERS, node);
                       ^
  symbol:   variable PARAMETERS
  location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:862: error: cannot find symbol
        if (isType(LITERAL_throws, node)) {
                   ^
  symbol:   variable LITERAL_throws
  location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:870: error: cannot find symbol
        assertNodeType(SLIST, node);
                       ^
  symbol:   variable SLIST
  location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:886: error: cannot find symbol
        if (isType(MODIFIERS, node)) {
                   ^
  symbol:   variable MODIFIERS
  location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:899: error: cannot find symbol
        if (isType(TYPE, node)) {
                   ^
  symbol:   variable TYPE
  location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:909: error: cannot find symbol
            assertNodeType(ASSIGN, node);
                           ^
  symbol:   variable ASSIGN
  location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:1000: error: cannot find symbol
            if (isType(IMPLICIT_PARAMETERS, parametersNode)) return
Parameter.EMPTY_ARRAY;
                       ^
  symbol:   variable IMPLICIT_PARAMETERS
  location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:1032: error: cannot find symbol
        boolean variableParameterDef = isType(VARIABLE_PARAMETER_DEF,
paramNode);
                                              ^
  symbol:   variable VARIABLE_PARAMETER_DEF
  location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:1036: error: cannot find symbol
        if (isType(MODIFIERS, node)) {
                   ^
  symbol:   variable MODIFIERS
  location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:1042: error: cannot find symbol
        if (isType(TYPE, node)) {
                   ^
  symbol:   variable TYPE
  location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:1057: error: cannot find symbol
            assertNodeType(ASSIGN, node);
                           ^
  symbol:   variable ASSIGN
  location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:1075: error: cannot find symbol
        assertNodeType(MODIFIERS, modifierNode);
                       ^
  symbol:   variable MODIFIERS
  location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:1083: error: cannot find symbol
                case STATIC_IMPORT:
                     ^
  symbol:   variable STATIC_IMPORT
  location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:1088: error: cannot find symbol
                case ANNOTATION:
                     ^
  symbol:   variable ANNOTATION
  location: class AntlrParserPlugin
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
100 errors
1 warning

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileCompilerJava'.
> Compilation failed; see the compiler error output for details.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or
--debug option to get more log output.

BUILD FAILED

Total time: 24.219 secs


--
Russel.
=============================================================================
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:[hidden email]
41 Buckmaster Road    m: +44 7770 465 077   xmpp: [hidden email]
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder

signature.asc (205 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Groovy 2.0 with modularisation uploaded to snapshot repository

Cédric Champeau

Hi Russel

Try gradlew install

(Not installGroovy)

Sent from my android phone.

Le 26 mai 2012 15:55, "Russel Winder" <[hidden email]> a écrit :
Cédric,

"gradlew installGroovy" fails for me :-((

|> gradlew installGroovy
:buildSrc:compileJava UP-TO-DATE
:buildSrc:compileGroovy UP-TO-DATE
:buildSrc:processResources UP-TO-DATE
:buildSrc:classes UP-TO-DATE
:buildSrc:jar UP-TO-DATE
:buildSrc:assemble UP-TO-DATE
:buildSrc:compileTestJava UP-TO-DATE
:buildSrc:compileTestGroovy UP-TO-DATE
:buildSrc:processTestResources UP-TO-DATE
:buildSrc:testClasses UP-TO-DATE
:buildSrc:test UP-TO-DATE
:buildSrc:check UP-TO-DATE
:buildSrc:build UP-TO-DATE
:compileCompilerJava
warning: [options] bootstrap class path not set in conjunction with
-source 1.5
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:24: error: package org.codehaus.groovy.antlr.parser does not exist
import org.codehaus.groovy.antlr.parser.GroovyLexer;
                                      ^
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:25: error: package org.codehaus.groovy.antlr.parser does not exist
import org.codehaus.groovy.antlr.parser.GroovyRecognizer;
                                      ^
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:26: error: package org.codehaus.groovy.antlr.parser does not exist
import org.codehaus.groovy.antlr.parser.GroovyTokenTypes;
                                      ^
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:56: error: cannot find symbol
public class AntlrParserPlugin extends ASTHelper implements
ParserPlugin, GroovyTokenTypes {

^
 symbol: class GroovyTokenTypes
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/Main.java:24: error: package org.codehaus.groovy.antlr.parser does not exist
import org.codehaus.groovy.antlr.parser.GroovyLexer;
                                      ^
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/Main.java:25: error: package org.codehaus.groovy.antlr.parser does not exist
import org.codehaus.groovy.antlr.parser.GroovyRecognizer;
                                      ^
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/Main.java:110: error: cannot find symbol
   public static void parseFile(String f, GroovyLexer l, SourceBuffer
sourceBuffer)
                                          ^
 symbol:   class GroovyLexer
 location: class Main
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/LexerFrame.java:27: error: package org.codehaus.groovy.antlr.parser does not exist
import org.codehaus.groovy.antlr.parser.*;
^
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/treewalker/NodeAsHTMLPrinter.java:22: error: package org.codehaus.groovy.antlr.parser does not exist
import org.codehaus.groovy.antlr.parser.GroovyTokenTypes;
                                      ^
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/treewalker/TraversalHelper.java:23: error: package org.codehaus.groovy.antlr.parser does not exist
import org.codehaus.groovy.antlr.parser.GroovyTokenTypes;
                                      ^
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/treewalker/MindMapPrinter.java:21: error: package org.codehaus.groovy.antlr.parser does not exist
import org.codehaus.groovy.antlr.parser.GroovyTokenTypes;
                                      ^
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/treewalker/SourceCodeTraversal.java:22: error: package org.codehaus.groovy.antlr.parser does not exist
import org.codehaus.groovy.antlr.parser.GroovyTokenTypes;
                                      ^
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/treewalker/SourcePrinter.java:23: error: package org.codehaus.groovy.antlr.parser does not exist
import org.codehaus.groovy.antlr.parser.GroovyTokenTypes;
                                      ^
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/java/Java2GroovyConverter.java:20: error: package org.codehaus.groovy.antlr.parser does not exist
import org.codehaus.groovy.antlr.parser.GroovyTokenTypes;
                                      ^
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/java/Java2GroovyMain.java:25: error: package org.codehaus.groovy.antlr.parser does not exist
import org.codehaus.groovy.antlr.parser.GroovyLexer;
                                      ^
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/java/Java2GroovyMain.java:26: error: package org.codehaus.groovy.antlr.parser does not exist
import org.codehaus.groovy.antlr.parser.GroovyRecognizer;
                                      ^
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/java/Java2GroovyMain.java:149: error: cannot find symbol
   private static JavaRecognizer getJavaParser(String input) {
                  ^
 symbol:   class JavaRecognizer
 location: class Java2GroovyMain
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/java/Groovifier.java:20: error: package org.codehaus.groovy.antlr.parser does not exist
import org.codehaus.groovy.antlr.parser.GroovyTokenTypes;
                                      ^
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/java/Groovifier.java:23: error: cannot find symbol
public class Groovifier extends VisitorAdapter implements
GroovyTokenTypes {
                                                         ^
 symbol: class GroovyTokenTypes
/home/users/russel/Repositories/Git/Clones/GroovyCore/subprojects/groovy-groovydoc/src/main/java/org/codehaus/groovy/tools/groovydoc/GroovyRootDocBuilder.java:26: error: cannot find symbol
import org.codehaus.groovy.antlr.java.JavaLexer;
                                    ^
 symbol:   class JavaLexer
 location: package org.codehaus.groovy.antlr.java
/home/users/russel/Repositories/Git/Clones/GroovyCore/subprojects/groovy-groovydoc/src/main/java/org/codehaus/groovy/tools/groovydoc/GroovyRootDocBuilder.java:27: error: cannot find symbol
import org.codehaus.groovy.antlr.java.JavaRecognizer;
                                    ^
 symbol:   class JavaRecognizer
 location: package org.codehaus.groovy.antlr.java
/home/users/russel/Repositories/Git/Clones/GroovyCore/subprojects/groovy-groovydoc/src/main/java/org/codehaus/groovy/tools/groovydoc/GroovyRootDocBuilder.java:28: error: package org.codehaus.groovy.antlr.parser does not exist
import org.codehaus.groovy.antlr.parser.GroovyLexer;
                                      ^
/home/users/russel/Repositories/Git/Clones/GroovyCore/subprojects/groovy-groovydoc/src/main/java/org/codehaus/groovy/tools/groovydoc/GroovyRootDocBuilder.java:29: error: package org.codehaus.groovy.antlr.parser does not exist
import org.codehaus.groovy.antlr.parser.GroovyRecognizer;
                                      ^
/home/users/russel/Repositories/Git/Clones/GroovyCore/subprojects/groovy-groovydoc/src/main/java/org/codehaus/groovy/tools/groovydoc/SimpleGroovyDoc.java:18: error: package org.codehaus.groovy.antlr.parser does not exist
import org.codehaus.groovy.antlr.parser.GroovyTokenTypes;
                                      ^
/home/users/russel/Repositories/Git/Clones/GroovyCore/subprojects/groovy-groovydoc/src/main/java/org/codehaus/groovy/tools/groovydoc/SimpleGroovyDoc.java:27: error: cannot find symbol
public class SimpleGroovyDoc implements GroovyDoc, GroovyTokenTypes {
                                                  ^
 symbol: class GroovyTokenTypes
/home/users/russel/Repositories/Git/Clones/GroovyCore/subprojects/groovy-groovydoc/src/main/java/org/codehaus/groovy/tools/groovydoc/GroovyRootDocBuilder.java:134: error: cannot find symbol
   private JavaRecognizer getJavaParser(String input, SourceBuffer
sourceBuffer) {
           ^
 symbol:   class JavaRecognizer
 location: class GroovyRootDocBuilder
/home/users/russel/Repositories/Git/Clones/GroovyCore/subprojects/groovy-groovydoc/src/main/java/org/codehaus/groovy/tools/groovydoc/GroovyRootDocBuilder.java:143: error: cannot find symbol
   private GroovyRecognizer getGroovyParser(String input, SourceBuffer
sourceBuffer) {
           ^
 symbol:   class GroovyRecognizer
 location: class GroovyRootDocBuilder
/home/users/russel/Repositories/Git/Clones/GroovyCore/subprojects/groovy-groovydoc/src/main/java/org/codehaus/groovy/tools/groovydoc/SimpleGroovyClassDocAssembler.java:22: error: package org.codehaus.groovy.antlr.parser does not exist
import org.codehaus.groovy.antlr.parser.GroovyTokenTypes;
                                      ^
/home/users/russel/Repositories/Git/Clones/GroovyCore/subprojects/groovy-groovydoc/src/main/java/org/codehaus/groovy/tools/groovydoc/SimpleGroovyClassDocAssembler.java:32: error: cannot find symbol
public class SimpleGroovyClassDocAssembler extends VisitorAdapter
implements GroovyTokenTypes {

^
 symbol: class GroovyTokenTypes
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:121: error: cannot find symbol
       GroovyLexer lexer = new GroovyLexer(inputState);
       ^
 symbol:   class GroovyLexer
 location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:121: error: cannot find symbol
       GroovyLexer lexer = new GroovyLexer(inputState);
                               ^
 symbol:   class GroovyLexer
 location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:123: error: cannot find symbol
       GroovyRecognizer parser = GroovyRecognizer.make(lexer);
       ^
 symbol:   class GroovyRecognizer
 location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:123: error: cannot find symbol
       GroovyRecognizer parser = GroovyRecognizer.make(lexer);
                                 ^
 symbol:   variable GroovyRecognizer
 location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:274: error: cannot find symbol
               case PACKAGE_DEF:
                    ^
 symbol:   variable PACKAGE_DEF
 location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:278: error: cannot find symbol
               case STATIC_IMPORT:
                    ^
 symbol:   variable STATIC_IMPORT
 location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:279: error: cannot find symbol
               case IMPORT:
                    ^
 symbol:   variable IMPORT
 location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:283: error: cannot find symbol
               case CLASS_DEF:
                    ^
 symbol:   variable CLASS_DEF
 location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:287: error: cannot find symbol
               case INTERFACE_DEF:
                    ^
 symbol:   variable INTERFACE_DEF
 location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:291: error: cannot find symbol
               case METHOD_DEF:
                    ^
 symbol:   variable METHOD_DEF
 location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:295: error: cannot find symbol
               case ENUM_DEF:
                    ^
 symbol:   variable ENUM_DEF
 location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:299: error: cannot find symbol
               case ANNOTATION_DEF:
                    ^
 symbol:   variable ANNOTATION_DEF
 location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:318: error: cannot find symbol
       if (isType(ANNOTATIONS, node)) {
                  ^
 symbol:   variable ANNOTATIONS
 location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:329: error: cannot find symbol
       boolean isStatic = importNode.getType() == STATIC_IMPORT;
                                                  ^
 symbol:   variable STATIC_IMPORT
 location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:333: error: cannot find symbol
       if (isType(ANNOTATIONS, node)) {
                  ^
 symbol:   variable ANNOTATIONS
 location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:339: error: cannot find symbol
       if (isType(LITERAL_as, node)) {
                  ^
 symbol:   variable LITERAL_as
 location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:358: error: cannot find symbol
       if (isType(STAR, nameNode)) {
                  ^
 symbol:   variable STAR
 location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:393: error: cannot find symbol
           if (isType(ANNOTATION, child))
                      ^
 symbol:   variable ANNOTATION
 location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:403: error: cannot find symbol
       if (isType(MODIFIERS, node)) {
                  ^
 symbol:   variable MODIFIERS
 location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:415: error: cannot find symbol
       if (isType(TYPE_PARAMETERS, node)) {
                  ^
 symbol:   variable TYPE_PARAMETERS
 location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:421: error: cannot find symbol
       if (isType(EXTENDS_CLAUSE, node)) {
                  ^
 symbol:   variable EXTENDS_CLAUSE
 location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:435: error: cannot find symbol
       assertNodeType(OBJBLOCK, node);
                      ^
 symbol:   variable OBJBLOCK
 location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:452: error: cannot find symbol
       if (isType(MODIFIERS, node)) {
                  ^
 symbol:   variable MODIFIERS
 location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:464: error: cannot find symbol
       if (isType(TYPE_PARAMETERS, node)) {
                  ^
 symbol:   variable TYPE_PARAMETERS
 location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:470: error: cannot find symbol
       if (isType(EXTENDS_CLAUSE, node)) {
                  ^
 symbol:   variable EXTENDS_CLAUSE
 location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:492: error: cannot find symbol
       assertNodeType(OBJBLOCK, node);
                      ^
 symbol:   variable OBJBLOCK
 location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:524: error: cannot find symbol
       assertNodeType(OBJBLOCK, node);
                      ^
 symbol:   variable OBJBLOCK
 location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:538: error: cannot find symbol
       if (isType(MODIFIERS, node)) {
                  ^
 symbol:   variable MODIFIERS
 location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:548: error: cannot find symbol
       if (isType(TYPE_PARAMETERS, node)) {
                  ^
 symbol:   variable TYPE_PARAMETERS
 location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:554: error: cannot find symbol
       if (isType(EXTENDS_CLAUSE, node)) {
                  ^
 symbol:   variable EXTENDS_CLAUSE
 location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:560: error: cannot find symbol
       if (isType(IMPLEMENTS_CLAUSE, node)) {
                  ^
 symbol:   variable IMPLEMENTS_CLAUSE
 location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:590: error: cannot find symbol
       assertNodeType(OBJBLOCK, node);
                      ^
 symbol:   variable OBJBLOCK
 location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:601: error: cannot find symbol
               case OBJBLOCK:
                    ^
 symbol:   variable OBJBLOCK
 location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:605: error: cannot find symbol
               case ANNOTATION_FIELD_DEF:
                    ^
 symbol:   variable ANNOTATION_FIELD_DEF
 location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:606: error: cannot find symbol
               case METHOD_DEF:
                    ^
 symbol:   variable METHOD_DEF
 location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:610: error: cannot find symbol
               case CTOR_IDENT:
                    ^
 symbol:   variable CTOR_IDENT
 location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:614: error: cannot find symbol
               case VARIABLE_DEF:
                    ^
 symbol:   variable VARIABLE_DEF
 location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:618: error: cannot find symbol
               case STATIC_INIT:
                    ^
 symbol:   variable STATIC_INIT
 location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:622: error: cannot find symbol
               case INSTANCE_INIT:
                    ^
 symbol:   variable INSTANCE_INIT
 location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:626: error: cannot find symbol
               case ENUM_DEF:
                    ^
 symbol:   variable ENUM_DEF
 location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:630: error: cannot find symbol
               case ENUM_CONSTANT_DEF:
                    ^
 symbol:   variable ENUM_CONSTANT_DEF
 location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:634: error: cannot find symbol
               case CLASS_DEF:
                    ^
 symbol:   variable CLASS_DEF
 location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:638: error: cannot find symbol
               case INTERFACE_DEF:
                    ^
 symbol:   variable INTERFACE_DEF
 location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:649: error: cannot find symbol
       assertNodeType(ENUM_DEF, enumNode);
                      ^
 symbol:   variable ENUM_DEF
 location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:654: error: cannot find symbol
       if (isType(MODIFIERS, node)) {
                  ^
 symbol:   variable MODIFIERS
 location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:674: error: cannot find symbol
       assertNodeType(OBJBLOCK, node);
                      ^
 symbol:   variable OBJBLOCK
 location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:683: error: cannot find symbol
       assertNodeType(ENUM_CONSTANT_DEF, node);
                      ^
 symbol:   variable ENUM_CONSTANT_DEF
 location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:685: error: cannot find symbol
       if (isType(ANNOTATIONS, element)) {
                  ^
 symbol:   variable ANNOTATIONS
 location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:706: error: cannot find symbol
           } else if (isType(ELIST, element)) {
                             ^
 symbol:   variable ELIST
 location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:720: error: cannot find symbol
       if (isType(DOT, node)) {
                  ^
 symbol:   variable DOT
 location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:737: error: cannot find symbol
       if (isType(TYPE_PARAMETERS, node)) {
                  ^
 symbol:   variable TYPE_PARAMETERS
 location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:743: error: cannot find symbol
       if (isType(MODIFIERS, node)) {
                  ^
 symbol:   variable MODIFIERS
 location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:754: error: cannot find symbol
       if (isType(TYPE, node)) {
                  ^
 symbol:   variable TYPE
 location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:776: error: cannot find symbol
           assertNodeType(PARAMETERS, node);
                          ^
 symbol:   variable PARAMETERS
 location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:781: error: cannot find symbol
           if (isType(LITERAL_throws, node)) {
                      ^
 symbol:   variable LITERAL_throws
 location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:796: error: cannot find symbol
           assertNodeType(SLIST, node);
                          ^
 symbol:   variable SLIST
 location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:847: error: cannot find symbol
       if (isType(MODIFIERS, node)) {
                  ^
 symbol:   variable MODIFIERS
 location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:856: error: cannot find symbol
       assertNodeType(PARAMETERS, node);
                      ^
 symbol:   variable PARAMETERS
 location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:862: error: cannot find symbol
       if (isType(LITERAL_throws, node)) {
                  ^
 symbol:   variable LITERAL_throws
 location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:870: error: cannot find symbol
       assertNodeType(SLIST, node);
                      ^
 symbol:   variable SLIST
 location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:886: error: cannot find symbol
       if (isType(MODIFIERS, node)) {
                  ^
 symbol:   variable MODIFIERS
 location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:899: error: cannot find symbol
       if (isType(TYPE, node)) {
                  ^
 symbol:   variable TYPE
 location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:909: error: cannot find symbol
           assertNodeType(ASSIGN, node);
                          ^
 symbol:   variable ASSIGN
 location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:1000: error: cannot find symbol
           if (isType(IMPLICIT_PARAMETERS, parametersNode)) return
Parameter.EMPTY_ARRAY;
                      ^
 symbol:   variable IMPLICIT_PARAMETERS
 location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:1032: error: cannot find symbol
       boolean variableParameterDef = isType(VARIABLE_PARAMETER_DEF,
paramNode);
                                             ^
 symbol:   variable VARIABLE_PARAMETER_DEF
 location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:1036: error: cannot find symbol
       if (isType(MODIFIERS, node)) {
                  ^
 symbol:   variable MODIFIERS
 location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:1042: error: cannot find symbol
       if (isType(TYPE, node)) {
                  ^
 symbol:   variable TYPE
 location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:1057: error: cannot find symbol
           assertNodeType(ASSIGN, node);
                          ^
 symbol:   variable ASSIGN
 location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:1075: error: cannot find symbol
       assertNodeType(MODIFIERS, modifierNode);
                      ^
 symbol:   variable MODIFIERS
 location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:1083: error: cannot find symbol
               case STATIC_IMPORT:
                    ^
 symbol:   variable STATIC_IMPORT
 location: class AntlrParserPlugin
/home/users/russel/Repositories/Git/Clones/GroovyCore/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:1088: error: cannot find symbol
               case ANNOTATION:
                    ^
 symbol:   variable ANNOTATION
 location: class AntlrParserPlugin
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
100 errors
1 warning

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileCompilerJava'.
> Compilation failed; see the compiler error output for details.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or
--debug option to get more log output.

BUILD FAILED

Total time: 24.219 secs


--
Russel.
=============================================================================
Dr Russel Winder      t: +44 20 7585 2200   voip: [hidden email]
41 Buckmaster Road    m: <a href="tel:%2B44%207770%20465%20077" value="+447770465077">+44 7770 465 077   xmpp: [hidden email]
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder
Reply | Threaded
Open this post in threaded view
|

Re: Groovy 2.0 with modularisation uploaded to snapshot repository

Russel Winder-3
On Sat, 2012-05-26 at 16:48 +0200, Cédric Champeau wrote:
> Hi Russel
>
> Try gradlew install
>

Tried "gradlew clean dist" and got the same problem as previously.

Just tried "gradlew clean ; gradlew install" same outcome :-(

--
Russel.
=============================================================================
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:[hidden email]
41 Buckmaster Road    m: +44 7770 465 077   xmpp: [hidden email]
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder

signature.asc (205 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Groovy 2.0 with modularisation uploaded to snapshot repository

aalmiray
In reply to this post by Cédric Champeau
I get a different error when running

    gradlew clean dist

:clean
:subprojects:clean UP-TO-DATE
:subprojects:groovy-all-tests:clean UP-TO-DATE
:subprojects:groovy-ant:clean UP-TO-DATE
:subprojects:groovy-bsf:clean UP-TO-DATE
:subprojects:groovy-console:clean UP-TO-DATE
:subprojects:groovy-docgenerator:clean UP-TO-DATE
:subprojects:groovy-groovydoc:clean UP-TO-DATE
:subprojects:groovy-groovysh:clean UP-TO-DATE
:subprojects:groovy-jmx:clean UP-TO-DATE
:subprojects:groovy-json:clean UP-TO-DATE
:subprojects:groovy-jsr223:clean UP-TO-DATE
:subprojects:groovy-servlet:clean UP-TO-DATE
:subprojects:groovy-sql:clean UP-TO-DATE
:subprojects:groovy-swing:clean UP-TO-DATE
:subprojects:groovy-templates:clean UP-TO-DATE
:subprojects:groovy-test:clean UP-TO-DATE
:subprojects:groovy-testng:clean UP-TO-DATE
:subprojects:groovy-xml:clean UP-TO-DATE
:compileCompilerJava
/Users/aalmiray/dev/github/groovy-core/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:1597: cannot find symbol
symbol  : variable MULTICATCH
location: class org.codehaus.groovy.antlr.AntlrParserPlugin
        if (MULTICATCH == node.getType()) {
            ^
/Users/aalmiray/dev/github/groovy-core/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:1600: cannot find symbol
symbol  : variable MULTICATCH_TYPES
location: class org.codehaus.groovy.antlr.AntlrParserPlugin
            if (multicatches.getType() != MULTICATCH_TYPES) {
                                          ^
/Users/aalmiray/dev/github/groovy-core/src/main/org/codehaus/groovy/antlr/treewalker/TraversalHelper.java:206: cannot find symbol
symbol  : variable MULTICATCH
location: interface org.codehaus.groovy.antlr.parser.GroovyTokenTypes
                case GroovyTokenTypes.MULTICATCH                    :   v.visitMultiCatch(ast,n);                   break;
                                     ^
/Users/aalmiray/dev/github/groovy-core/src/main/org/codehaus/groovy/antlr/treewalker/TraversalHelper.java:207: cannot find symbol
symbol  : variable MULTICATCH_TYPES
location: interface org.codehaus.groovy.antlr.parser.GroovyTokenTypes
                case GroovyTokenTypes.MULTICATCH_TYPES              :   v.visitMultiCatchTypes(ast,n);              break;
                                     ^
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
4 errors

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileCompilerJava'.
> Compilation failed; see the compiler error output for details.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 2 mins 3.244 secs
[groovy-core (modularisation)]> java -version
java version "1.6.0_31"
Java(TM) SE Runtime Environment (build 1.6.0_31-b04-415-11M3646)
Java HotSpot(TM) 64-Bit Server VM (build 20.6-b01-415, mixed mode)

[groovy-core (modularisation)]> git log --pretty=oneline -n 20
9eb497497224d6fd152ea3e227810f753cac3b9a javadoc/groovydoc tweaks
4e7053bcc32605fee31e69910635235269962076 javadoc/groovydoc tweaks
7802df0932957d57e558a5f4efdf47fec23d4797 GROOVY-5431: Allow @EqualsAndHashCode, @Canonical, @TupleConstructor, @ToString to use an array of Strings in addition to a comma separated String (fixed up a coup39edbc8c32d28945eabe4e610a7e4c08c701f9e0 Update README.md with new build instructions for Gradle
7b5b818617d6190e190f06f5866c3d925de14648 Added support for uploading artifacts to Codehaus repository     - use task 'uploadArchives'     - requires the system properties groovy.deploy.username and groovyde17da6b7b3cac5343277b1a31410405c0c870e9 Add groovydocAll tasks    - groovydocAll generates a groovydoc for core+modules    - groovydocAllJar generates a jar from this groovydoc    - install and uploadArtdddac83a0b255c871e7320dd75a7935ec04f21ef Add javadocAllJar task    - creates a javadoc artifact which is the complete javadoc of core + modules
f840d19f982fa8502c6d45405b675e9feaa86f81 Add support for sourceAll jar upload
6a847c628e5bf69298c5c2dc111f51538cc11a70 Support for uploading a "groovy-all" jar    - generates a groovy-all specific pom.xml    - uploads the artifacts    - javadoc, groovydoc and sources not supported 710262cd472b225e0891f6986f9cdbf707c80706 Merge branch 'modularisation' of github.com:groovy/groovy-core into modularisation
696a473c633a4c30ff28773a231595ff567844ac First iteration on artifact upload    - 'install' task installs artifacts locally in the .m2 repository    - 'uploadArtifacts' should do the same on a remote repo,99e803c68028ef3b25c0e1503bf4b79cb1c5b674 exclude groovy-all-tests jar during assembly
8d3e619bd8344ce55ff56262ce7b702704bb911f minor refactor - fix failing test under gradle
78391b231069fdbde13ca0c5ceffe02eee379d90 merge from master
55c6243dd32e677f9351dd83e3b175c08823d91c Fix regression in GPath introduced by fef9298b6e80d84791cf8ff8978d65ae81e370ef
1471143a19591ea94aa6f726c15ffd3e684727a4 Fix GroovyDocToolTest failing because some classes moved into Swing module
6bd1bf7de8d358b21bb6ce31bfbb66be151c6230 Move the Swing Model test to swing module as well
912ba38a2994b563a1825cb55fb852dd1b6c48b9 Move the DOM to Groovy to the XML module
160cbf606c78765cb8f8ae903d94388a605f7a9a Move the Swing binding support classes to the Swing module
4b011956d2457b8363ced81b8fbe8b47e2164fee Move the Swing model support classes to the Swing module
Reply | Threaded
Open this post in threaded view
|

Re: Groovy 2.0 with modularisation uploaded to snapshot repository

Cédric Champeau
Hi Andres & Russel,

Sorry guys I wasn't available today. I hope I'll get some time to check that tomorrow, there may be an environment issue here. Whatever, Andres, it seems you are running the build using a JDK 6, which is no longer supported (due to invokedynamic support). We plan to support builds using jdk 6 in the near future, but this first version only supports jdk 7 yet. Could you try running with an updated jdk?

Thanks!

2012/5/26 aalmiray <[hidden email]>
I get a different error when running

   gradlew clean dist

:clean
:subprojects:clean UP-TO-DATE
:subprojects:groovy-all-tests:clean UP-TO-DATE
:subprojects:groovy-ant:clean UP-TO-DATE
:subprojects:groovy-bsf:clean UP-TO-DATE
:subprojects:groovy-console:clean UP-TO-DATE
:subprojects:groovy-docgenerator:clean UP-TO-DATE
:subprojects:groovy-groovydoc:clean UP-TO-DATE
:subprojects:groovy-groovysh:clean UP-TO-DATE
:subprojects:groovy-jmx:clean UP-TO-DATE
:subprojects:groovy-json:clean UP-TO-DATE
:subprojects:groovy-jsr223:clean UP-TO-DATE
:subprojects:groovy-servlet:clean UP-TO-DATE
:subprojects:groovy-sql:clean UP-TO-DATE
:subprojects:groovy-swing:clean UP-TO-DATE
:subprojects:groovy-templates:clean UP-TO-DATE
:subprojects:groovy-test:clean UP-TO-DATE
:subprojects:groovy-testng:clean UP-TO-DATE
:subprojects:groovy-xml:clean UP-TO-DATE
:compileCompilerJava
/Users/aalmiray/dev/github/groovy-core/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:1597:
cannot find symbol
symbol  : variable MULTICATCH
location: class org.codehaus.groovy.antlr.AntlrParserPlugin
       if (MULTICATCH == node.getType()) {
           ^
/Users/aalmiray/dev/github/groovy-core/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java:1600:
cannot find symbol
symbol  : variable MULTICATCH_TYPES
location: class org.codehaus.groovy.antlr.AntlrParserPlugin
           if (multicatches.getType() != MULTICATCH_TYPES) {
                                         ^
/Users/aalmiray/dev/github/groovy-core/src/main/org/codehaus/groovy/antlr/treewalker/TraversalHelper.java:206:
cannot find symbol
symbol  : variable MULTICATCH
location: interface org.codehaus.groovy.antlr.parser.GroovyTokenTypes
               case GroovyTokenTypes.MULTICATCH                    :
v.visitMultiCatch(ast,n);                   break;
                                    ^
/Users/aalmiray/dev/github/groovy-core/src/main/org/codehaus/groovy/antlr/treewalker/TraversalHelper.java:207:
cannot find symbol
symbol  : variable MULTICATCH_TYPES
location: interface org.codehaus.groovy.antlr.parser.GroovyTokenTypes
               case GroovyTokenTypes.MULTICATCH_TYPES              :
v.visitMultiCatchTypes(ast,n);              break;
                                    ^
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
4 errors

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileCompilerJava'.
> Compilation failed; see the compiler error output for details.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or
--debug option to get more log output.

BUILD FAILED

Total time: 2 mins <a href="tel:3.244" value="+333244">3.244 secs
[groovy-core (modularisation)]> java -version
java version "1.6.0_31"
Java(TM) SE Runtime Environment (build 1.6.0_31-b04-415-11M3646)
Java HotSpot(TM) 64-Bit Server VM (build 20.6-b01-415, mixed mode)

[groovy-core (modularisation)]> git log --pretty=oneline -n 20
9eb497497224d6fd152ea3e227810f753cac3b9a javadoc/groovydoc tweaks
4e7053bcc32605fee31e69910635235269962076 javadoc/groovydoc tweaks
7802df0932957d57e558a5f4efdf47fec23d4797 GROOVY-5431: Allow
@EqualsAndHashCode, @Canonical, @TupleConstructor, @ToString to use an array
of Strings in addition to a comma separated String (fixed up a
coup39edbc8c32d28945eabe4e610a7e4c08c701f9e0 Update README.md with new build
instructions for Gradle
7b5b818617d6190e190f06f5866c3d925de14648 Added support for uploading
artifacts to Codehaus repository     - use task 'uploadArchives'     -
requires the system properties groovy.deploy.username and
groovyde17da6b7b3cac5343277b1a31410405c0c870e9 Add groovydocAll tasks    -
groovydocAll generates a groovydoc for core+modules    - groovydocAllJar
generates a jar from this groovydoc    - install and
uploadArtdddac83a0b255c871e7320dd75a7935ec04f21ef Add javadocAllJar task
- creates a javadoc artifact which is the complete javadoc of core + modules
f840d19f982fa8502c6d45405b675e9feaa86f81 Add support for sourceAll jar
upload
6a847c628e5bf69298c5c2dc111f51538cc11a70 Support for uploading a
"groovy-all" jar    - generates a groovy-all specific pom.xml    - uploads
the artifacts    - javadoc, groovydoc and sources not supported
710262cd472b225e0891f6986f9cdbf707c80706 Merge branch 'modularisation' of
github.com:groovy/groovy-core into modularisation
696a473c633a4c30ff28773a231595ff567844ac First iteration on artifact upload
- 'install' task installs artifacts locally in the .m2 repository    -
'uploadArtifacts' should do the same on a remote
repo,99e803c68028ef3b25c0e1503bf4b79cb1c5b674 exclude groovy-all-tests jar
during assembly
8d3e619bd8344ce55ff56262ce7b702704bb911f minor refactor - fix failing test
under gradle
78391b231069fdbde13ca0c5ceffe02eee379d90 merge from master
55c6243dd32e677f9351dd83e3b175c08823d91c Fix regression in GPath introduced
by fef9298b6e80d84791cf8ff8978d65ae81e370ef
1471143a19591ea94aa6f726c15ffd3e684727a4 Fix GroovyDocToolTest failing
because some classes moved into Swing module
6bd1bf7de8d358b21bb6ce31bfbb66be151c6230 Move the Swing Model test to swing
module as well
912ba38a2994b563a1825cb55fb852dd1b6c48b9 Move the DOM to Groovy to the XML
module
160cbf606c78765cb8f8ae903d94388a605f7a9a Move the Swing binding support
classes to the Swing module
4b011956d2457b8363ced81b8fbe8b47e2164fee Move the Swing model support
classes to the Swing module

--
View this message in context: http://groovy.329449.n5.nabble.com/Groovy-2-0-with-modularisation-uploaded-to-snapshot-repository-tp5709911p5709925.html
Sent from the groovy - dev mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email



1234