simplicityitself / grails-gwt

New Grails GWT Plugin
Other
23 stars 18 forks source link

Grails-GWT 1.0 not working #37

Closed confile closed 10 years ago

confile commented 10 years ago

I tried Grails-GWT 1.0

After grails dev war I get the following error:

| Error Error executing script War: groovy.lang.MissingMethodException: No signature of method: _GwtInternal_groovy.addProvidedDependency() is applicable for argument types: (java.lang.String, java.lang.String, java.lang.String) values: [com.google.gwt, gwt-dev, 2.5.1] (Use --stacktrace to see the full trace)
daviddawson commented 10 years ago

Can you paste your dependencies? specifically the extended-dependency-manager one.

confile commented 10 years ago

Sure:

    dependencies=[
//      'com.google.gwt.inject:gin:2.1.1',
//      'com.gwtplatform:gwtp-mvp-client:1.0.3',
//      'com.gwtplatform:gwtp-processors:1.0.3',
//      'com.gwtplatform:gwtp-clients-common:1.0.3',
        'com.gwtplatform:gwtp-all:1.1',
        'org.atmosphere.extensions:atmosphere-gwt20-client:2.0.1',
        'org.atmosphere.extensions:atmosphere-gwt20-common:2.0.1',
        'com.allen-sauer.gwt.dnd:gwt-dnd:3.2.3',

        'com.googlecode.objectify:objectify:4.0rc2',
//      'com.googlecode.mgwt:mgwt:1.1.2',
        'com.googlecode.mgwt:mgwt:1.2.0-SNAPSHOT',
        'com.google.guava:guava:15.0',
        'com.google.guava:guava-gwt:15.0',
        'name.pehl:piriti-user:0.10',
        'name.pehl:piriti-dev:0.10',
        'name.pehl:totoe:0.7',
//      'com.gwtplatform:gwtp-dispatch-rest:1.0.3',
        'org.apache.velocity:velocity:1.7',
        'javax.ws.rs:jsr311-api:1.1.1',
        'com.github.nmorel.gwtjackson:gwt-jackson:0.2.1',
        'com.fasterxml.jackson.core:jackson-annotations:2.3.0',
//      'com.googlecode.gwt-crypto:gwt-crypto:2.3.0',
        'com.googlecode.gwtquery:gwtquery:1.3.3'
//      'com.googlecode.gwtquery:gwtquery:1.4.0-SNAPSHOT'

    ]
daviddawson commented 10 years ago

Ah. I mean the dependencies plugin block.

David Dawson CEO, Principal Consultant Simplicity Itself Limited Tel +44 7866 011 256 Skype: davidadawson david.dawson@simplicityitself.com http://www.simplicityitself.com On 23 Dec 2013 16:04, "Michael G." notifications@github.com wrote:

Sure:

dependencies=[

// 'com.google.gwt.inject:gin:2.1.1', // 'com.gwtplatform:gwtp-mvp-client:1.0.3', // 'com.gwtplatform:gwtp-processors:1.0.3', // 'com.gwtplatform:gwtp-clients-common:1.0.3', 'com.gwtplatform:gwtp-all:1.1', 'org.atmosphere.extensions:atmosphere-gwt20-client:2.0.1', 'org.atmosphere.extensions:atmosphere-gwt20-common:2.0.1', 'com.allen-sauer.gwt.dnd:gwt-dnd:3.2.3',

    'com.googlecode.objectify:objectify:4.0rc2',

// 'com.googlecode.mgwt:mgwt:1.1.2', 'com.googlecode.mgwt:mgwt:1.2.0-SNAPSHOT', 'com.google.guava:guava:15.0', 'com.google.guava:guava-gwt:15.0', 'name.pehl:piriti-user:0.10', 'name.pehl:piriti-dev:0.10', 'name.pehl:totoe:0.7', // 'com.gwtplatform:gwtp-dispatch-rest:1.0.3', 'org.apache.velocity:velocity:1.7', 'javax.ws.rs:jsr311-api:1.1.1', 'com.github.nmorel.gwtjackson:gwt-jackson:0.2.1', 'com.fasterxml.jackson.core:jackson-annotations:2.3.0', // 'com.googlecode.gwt-crypto:gwt-crypto:2.3.0', 'com.googlecode.gwtquery:gwtquery:1.3.3' // 'com.googlecode.gwtquery:gwtquery:1.4.0-SNAPSHOT'

]

— Reply to this email directly or view it on GitHubhttps://github.com/simplicityitself/grails-gwt/issues/37#issuecomment-31126802 .

confile commented 10 years ago

Here they are:

    plugins {
        runtime ":hibernate:$grailsVersion"
        build ":tomcat:$grailsVersion"

        // plugins for the build system only
//      build ":tomcat:7.0.42"
//      compile ":tomcat8:8.0.0-RC1"
//      runtime ":hibernate:3.6.10.1" // or ":hibernate4:4.1.11.1"

        // plugins for the compile step
//      compile ":jquery-ui:1.8.24"
//      compile ":jquery-ui:1.10.3"

        compile (":jquery-ui:1.10.3" ){
            excludes 'jquery'
        }

        // plugins needed at runtime but not for compilation

//      runtime ":jquery:1.8.3"
//      runtime ":jquery:1.10.2"
        runtime ":jquery:1.10.2.2"

        runtime ":resources:1.2.1"

        // Optimisation
        compile ":cache-headers:1.1.5"
        runtime ":zipped-resources:1.0"
        runtime ":cached-resources:1.0"
        build ":yui-war-minify:1.5"   //    not used    compile ":yui-minify-resources:0.1.5"

        compile ':jaxrs:0.8'

        compile ":spring-security-core:1.2.7.3"
//      compile ":facebook-sdk:0.4.13"
        compile ":facebook-sdk:0.4.14"

        compile (":gwt:0.9.4"){
//      compile (":gwt:1.0"){
            excludes 'resources'
        }

        compile ":webxml:1.4.1"
        compile ":rest-client-builder:1.0.2"  // ":rest-client-builder:1.0.3"

//      compile ":quartz:1.0-RC10"
        compile ":quartz:1.0.1"

//      compile ":quartz:1.0-RC13"
//      compile ':quartz:1.0-RC13', {   //  excludes 'release' for Grails < 2.3
//           excludes 'release'
//      }

        // for Grails 2.3
//      compile ':mail:1.0.1', {
//          excludes 'spring-test'
//      }

        // for Grails prior to Grails 2.3
        compile ":mail:1.0.1"

        compile ":asynchronous-mail:1.0-RC5"  // compile ":asynchronous-mail:1.0-RC6" some errors
//      compile ":asynchronous-mail:1.0"

        compile ":mail-on-exception:0.1.1"

        compile ":pretty-time:2.1.3.Final-1.0.1"

        runtime ":database-migration:1.3.8"

        compile ":browser-detection:0.4.3"

        test(":spock:0.7") { exclude "spock-grails-support" }

        compile ":cache:1.1.1"

        compile ":google-analytics-tracker:0.1"

        compile ":geoip:0.2"
//      compile ":geoip:0.3" // läuft nicht gut

        compile ":remote-pagination:0.4.6"

        // Performance
//      compile ":grails-melody:1.48.0"

        compile (":app-info:1.0.3" ){
            excludes 'jquery'
        }

        compile (":elasticsearch:0.90.3.0-SNAPSHOT"){
            excludes 'hibernate'
        }

        // for admin
        compile ":navigation:1.3.2"
        compile ":google-visualization:0.6.2"

        // only for prior Grails 2.3
        compile ":jdbc-pool:7.0.37"
    }
daviddawson commented 10 years ago

The dependencies required for 1.0 are :-

  build ":extended-dependency-manager:0.5.5"
  compile ":gwt:1.0", {
    transitive=false
  }
confile commented 10 years ago

now it is working

confile commented 10 years ago

thank you