W3C home > Mailing lists > Public > www-validator-css@w3.org > January 2007

Re: Local Install Problem

From: olivier Thereaux <ot@w3.org>
Date: Thu, 18 Jan 2007 10:59:56 +0900
Message-Id: <046FD171-702A-48C4-B004-B5AC713A9FA6@w3.org>
Cc: <www-validator-css@w3.org>
To: Shem Page <Shem.Page@redvespa.com>

Hi Shem,

On Jan 17, 2007, at 10:11 , Shem Page wrote:

> I'm having troubles with the css-validator install.
> I've installed tomcat 5.5 and their servlet examples work fine.
> If I simply use the supplied css-validator.jar package from the  
> download
> page can copy things to the webapps dir of tomcat, executing a check
> from css-validator/validator.html simply spits back
> #!/usr/local/bin/zsh
> -f umask 002 PACKAGE=org.w3c.css.css
> # CLASSPATH=/u/crash/0/w3c/plehegar/www430/validator.zip

I think you forgot to copy the web.xml file to WEB-INF. This is the  
configuration file that tells tomcat to execute the servlet code.

> IF I try the complete build process as described by
> http://jigsaw.w3.org/css-validator/DOWNLOAD.html my build fails with
> many warnings and a few errors which I'll add below.

Compilation errors when building the validator are not a good sign.
But even if you use the .jar given in the download page, you still  
have to do the following steps:

* copy the web.xml file into webapps/css-validator/WEB-INF
* get the prerequisite libraries (.jar) and copy them to one location  
where tomcat will be looking for them (either webapps/css-validator/ 
WEB-INF/lib/ or common/lib)

hopefully that will work. Tell us how it goes.

Received on Thursday, 18 January 2007 02:00:02 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:40:43 UTC