-
Notifications
You must be signed in to change notification settings - Fork 10
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
Not compatible with yui-resources #17
Comments
Well, to solve dependency problem in grails plugins it is possible to declare it in BuildConfig.groovy: runtime(":coffeescript-resources:0.3.2") {
excludes "rhino"
} However, I find it that Rhino version that is declared in yui-resources plugin is not able to compile coffee-script-1.3.1.js file :( |
One possibility is to use something like jarjar to rename the Rhino classes needed by coffeescript and less, but this would of course involve embedding the Rhino classes in each plugin that needs them. |
…and adding the jar to the classpath for compilation
I started working on a patch for this issue here: This feature branch repackages the rhino classes under However, when testing with yui, I appear to be getting the following errors:
I'm not exactly certain of the cause yet, but it may have something to do with Java's Scripting engine binding the old org.mozilla classes to the scripting context. Unfortunately, I don't know Rhino well enough yet to diagnose the problem. |
The current version of coffeescript-resources conflicts with yui-minify-resources. The following comment in yui-minify-resources may shed some light:
SamD says...
Given that this is not likely to be fixed in the near future - what workarounds is anyone using?
The text was updated successfully, but these errors were encountered: