Questions tagged [greenscript]
9 questions
2
votes
1 answer
Play framework + Greenscript + 'url' CSS rules = wrong path
When using the configuration option greenscript.minimize=true with Greenscript, all CSS url resources becomes wrong. For example, with jQuery UI,
.ui-widget-content { border: 1px solid #dddddd; background: #eeeeee…

Yanick Rochon
- 51,409
- 25
- 133
- 214
1
vote
1 answer
add greenscript dependency on heroku
Tried to add greenscript, with dependencies.yml
require:
- play 1.2.4
- play -> greenscript 1.2.7
running fine locally, but a push at heroku shows:
-----> Heroku receiving push
-----> Play! app detected
-----> Installing ivysettings.xml.....…

jackysee
- 2,051
- 4
- 32
- 38
1
vote
1 answer
Play Framework Greenscript, NullPointerException
playframework 1.2.3 , greenscript 1.2.6k
When accessing a page I get a NullPointerException on line 174 of GreenScriptPlugin.java
Line 174 is the last line in the example below (JobsPlugin.executor ...) :
@Override
public void…

asawilliams
- 2,908
- 2
- 30
- 54
1
vote
1 answer
Playframework Greenscript error: The type Configurator is already defined
So I installed the greenscript-1.2.6k module for my Play 1.2.3 server according to the documentation.
When I startup the server and hit one of the pages this is the error I get:
The file
…

asawilliams
- 2,908
- 2
- 30
- 54
0
votes
3 answers
Greenscript in Heroku
I'm having an odd issue with Greenscript (1.2.6l) in Heroku using Play 1.2.3 for Java.
Locally, using the Play launcher or Foreman start, in both modes (DEV and PROD) Greenscript works fine, compresses files and loads the css/javascript.
In Heroku I…

Pere Villega
- 16,429
- 5
- 63
- 100
0
votes
1 answer
Greenscript CDN fallback on Play Framework 1.2.5
Im using Play! 1.2.5 and Greenscript 1.2.8b. Im looking to have a fallback for jQuery and other javascript library if one the CDN is not responding.
…

SolidALb
- 130
- 2
- 10
0
votes
1 answer
Can / does Greenscript change the file names it generates when contents change?
We're using Greenscript 1.2.8b on Play 1.2.5 to minify and combine JavaScript and CSS files. I was investigating some caching issues we ran into and noticed the file names Greenscript generates don't seem to change when we deploy a new version.
Is…

alex_c
- 2,058
- 2
- 26
- 34
0
votes
1 answer
greenscript LESS @imports relative path
I have a question about relative paths for '@import' statements for the play! framework's greenscript module. Specifically, I have a 'main.less' file which imports all of my other less files via this syntax:
@import "variables.less";
@import…

iamaracinghorse
- 35
- 3
0
votes
1 answer
Wildcards - many javascripts?
Is there a way to achive in greenscript load all javascripts from one directory? or whole structure?
For example
#{greenscript.js 'models/*', output: 'all'/}

Krzysztof Kaczmarek
- 318
- 4
- 12