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 20:08:03 +0100
Message-Id: <D61FFA0A-6DC0-431D-8A8A-C6ABA48E281A@w3.org>
Cc: Karl Dubost <karl@w3.org>, QA Dev <public-qa-dev@w3.org>
To: Yves Lafon <ylafon@w3.org>


On Jan 9, 2007, at 18:33 , Yves Lafon wrote:

> On Tue, 9 Jan 2007, olivier Thereaux wrote:
>
>> html request http://www.w3.org/
>> Exception in thread "main" java.lang.NoClassDefFoundError: org/w3c/ 
>> tools/resources/ProtocolException
>>       at org.w3c.css.css.StyleSheetGenerator2.<init> 
>> (StyleSheetGenerator2.java:68)
>
>
> Ok, there is a missing jar, there. The one containing Jigsaw's  
> client-side HTTP stack. Either you put the class in the same jar,  
> or you have the two jars and set the classpath (from the  
> validator.jar) accordingly.

Hmm, I'm out of luck here. I've amended the build.xml to

1) give the proper path for 		
<pathelement location="${servlet.lib}"/>
<pathelement location="${jigsaw.lib}"/>
(so maybe the class in question is not in jigsaw.jar?)

2) copying all of http://dev.w3.org/cvsweb/java/classes/org/w3c/tools/ 
resources/ into my source tree - but I can't do that as some of the  
code isn't java 1.5 friendly, apparently.

Any other/better idea?

-- 
olivier
Received on Tuesday, 9 January 2007 19:08:37 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 19 August 2010 18:12:47 GMT