Quantcast

Please reply on my post jquery plugin installation failure!

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Please reply on my post jquery plugin installation failure!

saravanataee
Hi all,
                I am using grails 2.0.4. Recently i tried to install jquery plugin. I found dependency  runtime ":jquery:1.7.2", so i placed it inside my buildconfig.groovy's plugin and tried to compile. While compiling it says



::::::::::::::::::::::::::::::::::::::::::::::

::          UNRESOLVED DEPENDENCIES         ::

::::::::::::::::::::::::::::::::::::::::::::::

:: org.grails.plugins#jquery;1.7.2: not found

::::::::::::::::::::::::::::::::::::::::::::::


Failed to resolve plugins.

--
Cheers,

Saravana

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Please reply on my post jquery plugin installation failure!

Sebastien Blanc
Did you try to uncomment the maven central repo in your buildconfig ? 


On Thu, Jul 5, 2012 at 11:40 AM, Saravanan S <[hidden email]> wrote:
Hi all,
                I am using grails 2.0.4. Recently i tried to install jquery plugin. I found dependency  runtime ":jquery:1.7.2", so i placed it inside my buildconfig.groovy's plugin and tried to compile. While compiling it says



::::::::::::::::::::::::::::::::::::::::::::::

::          UNRESOLVED DEPENDENCIES         ::

::::::::::::::::::::::::::::::::::::::::::::::

:: org.grails.plugins#jquery;1.7.2: not found

::::::::::::::::::::::::::::::::::::::::::::::


Failed to resolve plugins.

--
Cheers,

Saravana


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Please reply on my post jquery plugin installation failure!

saravanataee
Hi,
          I tried it now.

Before it was:
repositories {
        grailsPlugins()
        grailsHome()
        grailsCentral()

        // uncomment the below to enable remote dependency resolution
        // from public Maven repositories
        //mavenLocal()
        //mavenCentral()
        //mavenRepo "http://repository.codehaus.org"
        //mavenRepo "http://download.java.net/maven/2/"
      //  mavenRepo "http://repository.jboss.com/maven2/"
    }
After i uncommented:
repositories {
        grailsPlugins()
        grailsHome()
        grailsCentral()

        // uncomment the below to enable remote dependency resolution
        // from public Maven repositories
        mavenLocal()
        mavenCentral()
        mavenRepo "http://repository.codehaus.org"
        mavenRepo "http://download.java.net/maven/2/"
        mavenRepo "http://repository.jboss.com/maven2/"
    }

plugins{
        compile ':jquery:1.7.2'
    }

But, still the same error. It executes and says failed to install error!
On Thu, Jul 5, 2012 at 3:22 PM, Sebastien Blanc <[hidden email]> wrote:
Did you try to uncomment the maven central repo in your buildconfig ? 


On Thu, Jul 5, 2012 at 11:40 AM, Saravanan S <[hidden email]> wrote:
Hi all,
                I am using grails 2.0.4. Recently i tried to install jquery plugin. I found dependency  runtime ":jquery:1.7.2", so i placed it inside my buildconfig.groovy's plugin and tried to compile. While compiling it says



::::::::::::::::::::::::::::::::::::::::::::::

::          UNRESOLVED DEPENDENCIES         ::

::::::::::::::::::::::::::::::::::::::::::::::

:: org.grails.plugins#jquery;1.7.2: not found

::::::::::::::::::::::::::::::::::::::::::::::


Failed to resolve plugins.

--
Cheers,

Saravana





--
Cheers,

Saravana

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Please reply on my post jquery plugin installation failure!

bond_
Works for me with the default stuff:

grails.servlet.version = "2.5" // Change depending on target container compliance (2.5 or 3.0)
grails.project.class.dir = "target/classes"
grails.project.test.class.dir = "target/test-classes"
grails.project.test.reports.dir = "target/test-reports"
grails.project.target.level = 1.6
grails.project.source.level = 1.6
//grails.project.war.file = "target/${appName}-${appVersion}.war"

grails.project.dependency.resolution = {
    // inherit Grails' default dependencies
    inherits("global") {
        // uncomment to disable ehcache
        // excludes 'ehcache'
    }
    log "error" // log level of Ivy resolver, either 'error', 'warn', 'info', 'debug' or 'verbose'
    checksums true // Whether to verify checksums on resolve

    repositories {
        inherits true // Whether to inherit repository definitions from plugins
        grailsPlugins()
        grailsHome()
        grailsCentral()
        mavenCentral()

        // uncomment these to enable remote dependency resolution from public Maven repositories
        //mavenCentral()
        //mavenLocal()
        //mavenRepo "http://repository.codehaus.org"
        //mavenRepo "http://download.java.net/maven/2/"
        //mavenRepo "http://repository.jboss.com/maven2/"
    }
    dependencies {
        // specify dependencies here under either 'build', 'compile', 'runtime', 'test' or 'provided' scopes eg.

        // runtime 'mysql:mysql-connector-java:5.1.16'
    }

    plugins {
        runtime ":hibernate:$grailsVersion"
        compile ":jquery:1.7.2"
        runtime ":resources:1.1.5"

        build ":tomcat:$grailsVersion"
    }
}

Loading...