W3C home > Mailing lists > Public > www-validator-css@w3.org > June 2006

Re: CSS-Validator Install

From: Olivier Thereaux <ot@w3.org>
Date: Tue, 6 Jun 2006 20:15:05 +0900
To: Suman <sumank@blr.pin.philips.com>
Cc: www-validator-css@w3.org
Message-ID: <20060606111504.GA20872@w3.mag.keio.ac.jp>

Hi Suman,

On Tue, Jun 06, 2006, Suman wrote:

> I have downloaded CSS-Validator from CVS-Publis server
> into my Linux machine.Apche Tomacat 5.5.16 server is
> running machine.And i have installed in validator in my
> machine.Main Validator page is opening Propery when i open
> http://localhost:8080/css-validator/validator.html.en page,but Check
> buttons in Page are not working.

We're in the process of creating a better documentation and an easier
process to install the CSS validator, which is indeed not terribly easy
to install at this point.

Here's what you can do:

* download the source as explained in 

Supposing you have copied the files for the css validator at
 [TOMCAT_DIR]/webapps/css-validator/ (which I'll refer to
 as [VALIDATOR_DIR] from now on):
(if not, grab the source from http://dev.w3.org/cvsweb/2002/css-validator/ 
and copy them there )

* get a few libs, 

 - servlet.jar (which you should find in [TOMCAT_DIR]/common/lib/, 
  possibly under the name servlet-api.jar. If  not, get it at java.sun.com)
 - jigsaw.jar from e.g http://jigsaw.w3.org/Devel/classes-2.2/20060329/
 - xercesImpl.jar and xml-apis.jar (which can be downloaded with
 xerces-j-bin at http://www.apache.org/dist/xml/xerces-j/ ).

and put them in e.g [VALIDATOR_DIR]/WEB-INF/lib and make sure the
directory is in your CLASSPATH.

* you need to build the css-validator jar using ant
(go to [TOMCAT_DIR]/webapps/css-validator/ and run "ant")

* move the generated css-validator.jar into [VALIDATOR_DIR]/WEB-INF/lib

restart tomcat. enjoy.

Received on Tuesday, 6 June 2006 11:15:11 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:00:57 UTC