ldaley / grails-remote-control

Facilitates executing commands (closures) against remote or local Grails applications
Apache License 2.0
23 stars 16 forks source link

Compatibility Grails V2.5.0 #25

Open marchah opened 9 years ago

marchah commented 9 years ago

Hi,

I would like to know if the plugin remote-control v2.0 is compatible with grails v2.5.0?

Because I'm upgrading my grails project from v2.4.4 to v2.5.0 and when i run the functional test I get this error for all my tests:

screenshot from 2015-05-04 09 41 19

I try to fix it by updating all my plugins but it didn't fix it

dependencies {
        // specify dependencies here under either 'build', 'compile', 'runtime', 'test' or 'provided' scopes e.g.
        runtime 'mysql:mysql-connector-java:5.1.35'
        runtime 'org.elasticsearch:elasticsearch:1.5.2'
        compile 'com.cloudinary:cloudinary:1.0.14'
        compile "org.apache.commons:commons-math3:3.5"
        compile "com.javadocmd:simplelatlng:1.3.0"
        compile "com.logentries:logentries-appender:1.1.30"
        compile "com.cloudbees.thirdparty:zendesk-java-client:0.2.4"
        runtime 'com.spatial4j:spatial4j:0.4.1'
        compile 'com.vividsolutions:jts:1.13'
        compile 'com.github.javafaker:javafaker:0.5'
        compile 'com.codahale.metrics:metrics-graphite:3.0.2'
        compile 'io.jsonwebtoken:jjwt:0.4'

    }

    plugins {
        // plugins for the build system only
        build ':tomcat:8.0.21'

        // plugins for the compile step
        compile ':cache:1.1.8'
        compile ":rest:0.8"
        compile ":bcrypt:1.0"
        compile ":asynchronous-mail:1.2"
        compile ':quartz:1.0.2'
        compile ":joda-time:1.5"
        compile ":build-test-data:2.4.0"
        compile ":spring-events:1.2"
        compile ":remote-control:2.0"
        compile ":build-info:1.2.8"

        // plugins needed at runtime but not for compilation
        runtime ":hibernate4:4.3.8.1"
        runtime ":database-migration:1.4.0"

        runtime ":cors:1.1.6"
        // compile ":redis-hibernate-cache:1.0"

        compile ":rest-client-builder:2.1.1"

        test ":plastic-criteria:1.5.1"
        compile ":yammer-metrics:3.0.1-2"

        compile ":redis-hibernate-cache:1.0", {
            excludes "logback-classic"
        }
        compile ":redis-flexible-cache:0.3.4"
        compile ":cache-headers:1.1.7"

        // Uncomment these (or add new ones) to enable additional resources capabilities
        //runtime ":zipped-resources:1.0.1"
        //runtime ":cached-resources:1.1"
        //runtime ":yui-minify-resources:0.1.5"
    }

Thanks for your help

Edit:

i tried with: grails test-app functional: grails test-app functional: -baseUrl=http://localhost:8080/ grails test-app functional: -baseUrl=http://localhost:8080

Edit2: the functional tests were running fine with grails 2.4.4 and remote-control 2.0

Always the same errors

marcocarnazzo commented 8 years ago

Same issue with grails 2.4.5 :( .

Edit: Nevermind. It was my fault. I launched my webapp in dev mode and so remoteControl was disabled :S .

ghost commented 8 years ago

I'm using it without any issues in Grails 2.5.4.

pohorilyijm commented 5 years ago

Hello, @marchah! Did you manage to resolve the issue with FileNotFoundException: http://localhost:8080/grails-remote-control ?

marchah commented 5 years ago

@pohorilyijm Hi, no i wasn't able to make it work so i stayed with grails v2.4.4 and haven't touch the project in 4 years.