Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

What am I doing wrong?

44 views
Skip to first unread message

Vince Allen

unread,
Nov 11, 2012, 6:57:02 PM11/11/12
to css-...@googlegroups.com
I would like to run csslint via the command line on rhino but can't get anything but a stalled terminal window. I'm running 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 on my Mac. I have 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 just stalls.

If I run java -jar js.jar csslint-rhino.js --version main.css, the terminal prints 'v0.9.9'. I've intentionally created errors in main.css hoping to see csslint in action. But nothing. What am I doing wrong?

Thanks,
Vince

Nicholas C. Zakas

unread,
Nov 12, 2012, 12:50:11 PM11/12/12
to css-...@googlegroups.com
Hmmm...that's the second time I've heard of trouble with Rhino, which
means it might be a bug. Can you please file an issue?

-N

Jonathan Klein

unread,
Nov 12, 2012, 1:09:51 PM11/12/12
to css-...@googlegroups.com
FWIW, that's the exact same behavior I am experiencing on CentOS, Mac OS 10.7, and Windows 7.  Vince let me know if you are going to create the issue, otherwise I'm happy to do it.

Vince Allen

unread,
Nov 14, 2012, 9:28:49 AM11/14/12
to css-...@googlegroups.com
Jonathan and Nicholas,
Thanks for confirming. I just filed issue #321 "Problems with Rhino". Thanks! I'm looking forward to integrating csslint into my build process....

Objelean Alex

unread,
Nov 15, 2012, 2:13:06 AM11/15/12
to css-...@googlegroups.com
You could use wro4j which has acsslint goal for maven plugin for a long time now...

Alex

Reply all
Reply to author
Forward
0 new messages