Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems compiling Bootstrap 2.3 less files #45

joergrech opened this Issue Feb 10, 2013 · 4 comments


None yet
4 participants
Copy link

joergrech commented Feb 10, 2013

I just tried to compile the standard Bootstrap 2.3 less files and got the following error:

"Message: Syntax Error on line 891"

It works with Bootstrap 2.2.2 - so probably Bootstrap introduced something new but maybe you can help.


This comment has been minimized.

Copy link

fblumenberg commented Feb 11, 2013

This is due to the changes in the commit twbs/bootstrap@6b9bb54 at bootstrap

"Move to new selector interpolation, supported from 1.3.1"


This comment has been minimized.

Copy link

mjpowersjr commented Mar 6, 2013

It seems that this issue is resolved in newer versions of the lesscss java compiler...I updated the lesscss compiler dependency from 1.3.1 -> 1.3.3 in a local copy of this grails plugin, and was able to successfully compile the previously mentioned Boostrap .less file.


This comment has been minimized.

Copy link

rhysyngsun commented Mar 8, 2013

Alternative to using a local copy of the plugin is to modify BuildConfig.groovy in the following way:

grails.project.dependency.resolution = {
    dependencies {
        runtime ('org.lesscss:lesscss:1.3.3')
    plugins {
        compile(":lesscss-resources:1.3.1") {
            excludes "lesscss"

This comment has been minimized.

Copy link

joergrech commented Mar 9, 2013

I just tested it and the approach by @rhysyngsun works great. I hope you can integrate it in the next release of the plugin.
Thanks Joerg.

@joergrech joergrech closed this Mar 9, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.