Comments (11)
It most likely does have todo with the version of less bootstrap uses. I'm actually in the middle of extract the less compiler the plugin uses as a standalone component. Which the next version of less-sbt will depend on. I was hoping there'd be no issues between now and sbt 0.13.0 but I can try to get one more release out for sbt 0.12.* projects that run into this issue. bootstrap is pretty darn popular! I'll look into this issue and see if the newer version of the less compiler fixes the issue. I do have a test just for bootstap so I should find out pretty soon.
from less-sbt.
just from a glace it does look like a change in the compiler - https://github.com/cloudhead/less.js/blob/master/CHANGELOG.md#140-beta-1--2 I'll try to get a release out soon
from less-sbt.
Thanks for looking into this. Now that you mention it ...
https://github.com/cloudhead/less.js/blob/master/CHANGELOG.md
1.4.0 Beta 1 & 2
(~"@var") selector interpolation is removed. Use @{var} in selectors to have variable selectors
The LESS milestone 1.4.0 seems to be at Beta4 at the moment with no open issues. Perhaps it would make sense to wait till the final version is out before you push this out as a release. For me, at least, I have a functional workaround, so waiting a little longer would really not be a problem for me.
from less-sbt.
Small update on this issue. I can at least reproduce a slightly different error in sbt with in an updated scripted test with the latest version of bootstrap This tree depends on a snapshot version of the extracted compiler which has interfaces for both less 1.3.3 and 1.4.0 ( beta ). The plugin currently uses the 1.3.3 interface. Having this as an automated tests help so I'll keep you posted when I get a clean compile with the bootstrap less sources.
[info] [error] (compile:less) Error occured while compiling /private/var/folders/98/fjjz04qs4dl60tqxhrdpxxn40000gn/T/sbt_2d6ea9e5/latest-bootstrap/src/main/less/bootstrap.less:
[info] [error] Less error:
[info] [error] stack: org.mozilla.javascript.Undefined@6c2e1e17
[info] [error] callExtract: org.mozilla.javascript.Undefined@6c2e1e17
[info] [error] message: [ERROR] Syntax Error on line 578 (line:578, column:11)
[info] [error] column: -1
[info] [error] type: Syntax
[info] [error] callLine: org.mozilla.javascript.Undefined@6c2e1e17
[info] [error] extract: WrappedArray(null, null, * Bootstrap v2.3.2)
[info] [error] index: org.mozilla.javascript.Undefined@6c2e1e17
from less-sbt.
Any progress on this?
from less-sbt.
hrm, could have swore I fixed this. I look into it this weekend.
from less-sbt.
I tried to use your lesst branch by installing it in my private nexus, but never got i working. Got weird errors from less compiling bootstrap 3. Went over to sbt-less and finally got a working less 1.4 compile. Thanks anyway!
from less-sbt.
I'll work on this this weekend. What version of sbt are you on? Sbt 0.13.0 is right around the corner, a number of people are on the lastest rc ( included me ). I ask be sbt compiles on 2.9.2 will 0.13 is on 2.10. I can publish a 2.9.2 version of lesst but if you don't need this for sbt 0.12.* Ill just going to target scala 2.10+
I upgraded to less 1.4.2 and wrote some tests for less's breaking change listed on http://lesscss.org/ in the 1.4 release line in the lesst project ( which the next and all future releases of less-sbt will use. So if you still see this issue in the next version of sbt is a bug with my plugin and not the my adaptations to the less compiler.
from less-sbt.
Did the first step - http://notes.implicit.ly/post/58547977906/lesst-0-1-0. Next Ill publish a version of less-sbt that uses this. I don't think it would be hard to publish for both versions of sbt. I published less for 2.9.2 so I don't think it will be a problem
from less-sbt.
Give this a spin and let me know if it solves the issue
addSbtPlugin("me.lessis" % "less-sbt" % "0.2.0")
from less-sbt.
And now 0.2.1
! see #32
from less-sbt.
Related Issues (20)
- Compiled JS artifacts not available anymore in 0.1.6 HOT 4
- Make clear what repository holds the artifact HOT 12
- Error messages are less than ideal HOT 4
- Version number of less in less-sbt less than official less version HOT 7
- Can't force less recompilation HOT 7
- try/catch is a poor design idiom. prefer either HOT 1
- factor out compiler wrapper HOT 1
- Compile Error: Method "doctest" not found in "org.mozilla.javascript.tools.shell.Global" HOT 9
- Problems using with xsbt-web-plugin…
- Unicode symbols HOT 7
- lesscss 1.3.3 support HOT 2
- Multiple root sources HOT 2
- Not working for Bootstrap 3.0 ? HOT 9
- lesst dependency not available HOT 2
- CSS output file contains just 'null' HOT 11
- Minifier doesn't work HOT 2
- Version in instruction on landing page is not deployed? HOT 2
- Regular and minified output HOT 1
- Multiple css files
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from less-sbt.