Hi Players,
I've noticed the removal of embedded css frameworks within 1.0 sass
module. I've been strugling a while to handle frameworks in my app,
but I cannot get it to work. I'll share with you the steps I've been
folllowing :
Performed against Play 1.0.3.2 And 1.1
-locally -outside Play -
1. compass update following gem install instructions (
http://compass-
style.org/docs/)
2. check haml + compass version installed (3.0.24 for haml,
0.10.6.gem)
3. framework stylesheets copy into may play app public/stylesheets
folder
4. at app level, .sass-cache removed + play clean + play test
Got 2 issues
---First One (not blocking)---
java.io.FileNotFoundException: /Users/erwan/work/PlayApp/public/
stylesheets/blueprint (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at play.libs.IO.readContentAsString(IO.java:61)
at play.modules.sass.Engine.findDependencies(Engine.java:139)
at play.modules.sass.Engine.findDependencies(Engine.java:148)
at play.modules.sass.Engine.compile(Engine.java:67)
at play.modules.sass.Plugin.serveStatic(Plugin.java:24)
at play.server.HttpHandler.serveStatic(HttpHandler.java:248)
at play.server.HttpHandler$MinaInvocation.init(HttpHandler.java:479)
at play.Invoker$Invocation.run(Invoker.java:174)
at play.server.HttpHandler$MinaInvocation.run(HttpHandler.java:488)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:
441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ScheduledThreadPoolExecutor
$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)
at java.util.concurrent.ScheduledThreadPoolExecutor
$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:206)
at java.util.concurrent.ThreadPoolExecutor
$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:680)
--- Second One (Blocking) --
_grid.scss:48:in `blueprint-grid': Invalid CSS after ".column,
enumerate": expected selector, was "("div.span",
1,..." (Sass::SyntaxError)
within _grid.scss, line 48, # is not welcome
.column, #{enumerate("div.span", 1, $blueprint_grid_columns)} {
@include column-base; }
Trouble is scss compiles fine when dealt agains compass inner haml
engine and not Plugin one. Any hint about frameworks integration (no
rb file imported) ?
Thx alot