Re: CSS-Validator Install

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.

Regards,
-- 
olivier

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