W3C home > Mailing lists > Public > public-qa-dev@w3.org > January 2007

Re: Packaging CSS Validator and Command line

From: olivier Thereaux <ot@w3.org>
Date: Tue, 9 Jan 2007 18:02:25 +0100
Message-Id: <235C9B0C-05F7-455A-B0A8-7337F1CE7EDD@w3.org>
Cc: QA Dev <public-qa-dev@w3.org>, Yves Lafon <ylafon@w3.org>
To: Karl Dubost <karl@w3.org>

On Jan 9, 2007, at 08:04 , Karl Dubost wrote:

> Hi Yves,
> do you know if it's easy to package the CSS validator in a way that  
> it is usable either
> - a desktop application
> - a command line application

Since we have a working ant build file now (thanks to Jean-Gui IIRC)  
we can now publish a jar file. I think it will be helping. I just put  
one I compiled today, at:

  It won't qualify as desktop app, but as a commandline, it should  
work, as explained at bottom of

However, the method explained in the doc seems to fail right now,  
with a java trace. Probably something one of our java gurus could  
look into. Peter, Jean-Gui? Any interest?

ot@hae:~/Sites/cvs/public/2002/css-validator% java -jar css- 
validator.jar http://www.w3.org/
html request http://www.w3.org/
Exception in thread "main" java.lang.NoClassDefFoundError: org/w3c/ 
         at org.w3c.css.css.StyleSheetGenerator2.<init> 
         at org.w3c.css.css.StyleSheetCom.notifyEnd 
         at html.tags.HtmlParser.run(HtmlParser.java:239)
         at org.w3c.css.css.StyleSheetCom.htmlRequest 
         at org.w3c.css.css.StyleSheetCom.main(StyleSheetCom.java:252)

Received on Tuesday, 9 January 2007 17:03:02 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:36:26 UTC