Local Install Problem

I hope somebody can please point out what I have done wrong because I'm
completely stumped.
 
I have recently been trying to get many of the w3.org services running
on a local machine so we can validate websites while they are still in
development. For this purpose I have made a clean install of ubuntu 6.10
server, with supporting software such as apache, tomcat etc.
 
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
CLASSPATH=~/www430:.
export CLASSPATH

# PATH=/u/koala/2/koala/plehegar/JFC/jdk1.2/bin:$PATH
java
-Djava.protocol.handler.pkgs="org.w3c.www.protocol|sun.net.www.protocol"
$PACKAGE.StyleSheetCom $@
 
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.

If you can help me get the validator working please offer some advice. 

Output from CLASSPATH=.:./WEB-INF/lib:$CLASSPATH ant
======================================================
Buildfile: build.xml
build:
    [javac] Compiling 871 source files to
/var/lib/tomcat5.5/webapps/css-validator/build
    [javac] ----------
    [javac] 1. WARNING in
/var/lib/tomcat5.5/webapps/css-validator/org/w3c/css/css/CssParser.java
(at line 10)
    [javac]  import java.io.IOException;
    [javac]         ^^^^^^^^^^^^^^^^^^^
    [javac] The import java.io.IOException is never used
    [javac] ----------
    [javac] ----------
    [javac] 2. WARNING in
/var/lib/tomcat5.5/webapps/css-validator/org/w3c/css/css/CssRuleList.jav
a (at line 26)
    [javac]  String pseudopage = new String();
    [javac]         ^^^^^^^^^^
    [javac] The local variable pseudopage is never read
    [javac] ----------
    [javac] ----------
    [javac] 3. WARNING in
/var/lib/tomcat5.5/webapps/css-validator/org/w3c/css/css/CssStyleRule.ja
va (at line 108)
    [javac]  private boolean important;
    [javac]                  ^^^^^^^^^
    [javac] The field CssStyleRule.important is never read locally
    [javac] ----------
    [javac] ----------
    [javac] 4. ERROR in
/var/lib/tomcat5.5/webapps/css-validator/org/w3c/css/css/CssValidator.ja
va (at line 28)
    [javac]  import org.w3c.tools.resources.ProtocolException;
    [javac]         ^^^^^^^^^^^^^
    [javac] The import org.w3c.tools cannot be resolved
    [javac] ----------
    [javac] 5. ERROR in
/var/lib/tomcat5.5/webapps/css-validator/org/w3c/css/css/CssValidator.ja
va (at line 153)
    [javac]  } catch (ProtocolException pex) {
    [javac]           ^^^^^^^^^^^^^^^^^
    [javac] ProtocolException cannot be resolved to a type
    [javac] ----------
    [javac] 6. ERROR in
/var/lib/tomcat5.5/webapps/css-validator/org/w3c/css/css/CssValidator.ja
va (at line 155)
    [javac]  pex.printStackTrace();
    [javac]  ^^^
    [javac] pex cannot be resolved
...... continued in attached file
 
Thanks for any help you can offer
Shem
 

Received on Wednesday, 17 January 2007 15:23:59 UTC