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 with Rhino #321
Comments
Hmm, on my initial look, I'm able to get it to work correctly. I'll try on another machine. |
I am able to repo as well. Also on OSX. java version "1.6.0_35" Hangs even using a nearly empty CSS file, with just one empty class in it. Tried csslint-rhino 14-May-2012 10:24:48, same thing. |
Sorry, I'm still not able to reproduce. I've tried on a couple of different machines with both Java 1.6 and 1.7 and it works fine for me. How are you using it? Here's what I typed (from the csslint directory): java -jar lib/js.jar release/csslint-rhino.js demos/demo.css |
Extract: https://dl.dropbox.com/u/422013/csslint-test.tar.gz java -jar js.jar csslint-rhino.js test.css |
java -version
|
Same problem (hanging - 1 CPU core maxed) for me on Windows 7. Java 1.7.0_09-b05 java -jar rhino-js.jar csslint-rhino.js test.css |
This is a problem with Rhino. I downloaded an old version of csslint and it still hangs. I downloaded an old version of Rhino and it works |
Can you post which versions of Rhino you tested? On Fri, Dec 7, 2012 at 4:08 PM, Aaron Murray notifications@github.comwrote:
Nicholas C. Zakas Author, Professional JavaScript for Web Developers |
rhino1_7R4 (current from their site) |
Is that the version that worked or the version that didn't? It would be On Mon, Dec 10, 2012 at 2:53 PM, Aaron Murray notifications@github.comwrote:
Nicholas C. Zakas Author, Professional JavaScript for Web Developers |
Check a prior post for the version that didn't work - I already posted that once before. The version that works is from the html5boilerplate project - I'm not at my computer right now On Dec 10, 2012, at 6:00 PM, "Nicholas C. Zakas" notifications@github.com wrote:
|
I've encountered this too. It looks to be a problem with rhino: The problem appears to be in regular expressions involving \uFFFF:
hangs, but
doesn't. As a temporary fix, I've just changed all occurrences of \uFFFF to \uFFFE in csslint-rhino.js. |
any progress on this? |
Nope. I've not been able to verify versions where it's working versus where On Sun, Feb 3, 2013 at 4:18 PM, Nick Schonning notifications@github.comwrote:
Nicholas C. Zakas Author, Professional JavaScript for Web Developers |
I filed this bug report: mozilla/rhino#107 |
I've grabbed the latest version of Rhino from the source code repository (it builds as 7R5pre), and the problem has been fixed. Now all we need to do is wait for an official release... |
Rhino1_6R7 and csslint v0.9.10 work fine checked! |
Just wanted re-iterate that this is still Obviously a problem with the release candidate. This thread saved me hours of trouble. |
CSSLint seems to stall when running via Rhino from the command line.
I'm on os x 10.7.5 and have downloaded the latest Rhino (1.7R4), the latest csslint (v0.9.9 Build time: 12-September-2012 01:46:26), and have updated Java.
With three files in one folder, csslint-rhino.js, js.jar, and main.css, my command looks like this:
java -jar js.jar csslint-rhino.js main.css
The terminal stalls and never reports a success or fail.
Thanks.
The text was updated successfully, but these errors were encountered: