Coder Social home page Coder Social logo

Comments (7)

mordka avatar mordka commented on May 30, 2024

In grails 2.4 resources plugin and static holder classes were removed. This makes nimble incompatible with 2.4
See: http://grails.org/doc/2.4.0.M1/guide/upgradingFrom23.html

from nimble.

tealsoftware avatar tealsoftware commented on May 30, 2024

I got it to compile by

    compile(":nimble:0.7") {
        excludes("servlet-api", "hibernate", "grails-mail", "shiro", "twitter-bootstrap")
    }

    runtime ':twitter-bootstrap:2.3.2.2' // this is specially for Nimble as it is Bootstrap 2.3
    compile ":mail:1.0.6"
    compile ":shiro:1.2.1"

However, it now still fails through not finding the resources.

from nimble.

snimavat avatar snimavat commented on May 30, 2024

Unfortulantely nimble has dependency on resources plugin, which was default for grails 2.3.x, (now grails has moved to asset pipe line). can you include the resources plugin in your buildconfig.

from nimble.

tealsoftware avatar tealsoftware commented on May 30, 2024

I did include it, but I cannot use 'asset-pipeline' then as if both are included then it doesn't find the resources. Nevertheless, I've now commented 'asset-pipeline' and am now getting a StackOverflowError in 'twitter-bootstrap':

at org.groovydev.TwitterBootstrapTagLib$_closure1.doCall(TwitterBootstrapTagLib.groovy:36)
at org.groovydev.TwitterBootstrapTagLib$_closure1.doCall(TwitterBootstrapTagLib.groovy:36)

(I had to upgrade 'twitter-bootstrap' to 2.3.2.2 to be compliant with Grails 2.4). Not a Nimble problem per se, but still a blocker for me.

from nimble.

snimavat avatar snimavat commented on May 30, 2024

Alright, does it work for you now ?

I'll try to get some time to upgrade nimble to grails 2.4.x

from nimble.

tealsoftware avatar tealsoftware commented on May 30, 2024

After grails.plugins.twitterbootstrap.fixtaglib = true it seems to work.

It would be great if you could officially upgrade it to 2.4.x.

from nimble.

snimavat avatar snimavat commented on May 30, 2024

I'll update soon.

from nimble.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.