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

Local Install Problem

From: Shem Page <Shem.Page@redvespa.com>
Date: Wed, 17 Jan 2007 14:11:31 +1300
Message-ID: <4939C09F30588E458C1886C11A78FD3107C800@redsbs.RedVespa.local>
To: <www-validator-css@w3.org>
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

# PATH=/u/koala/2/koala/plehegar/JFC/jdk1.2/bin:$PATH
$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
    [javac] Compiling 871 source files to
    [javac] ----------
    [javac] 1. WARNING in
(at line 10)
    [javac]  import java.io.IOException;
    [javac]         ^^^^^^^^^^^^^^^^^^^
    [javac] The import java.io.IOException is never used
    [javac] ----------
    [javac] ----------
    [javac] 2. WARNING in
a (at line 26)
    [javac]  String pseudopage = new String();
    [javac]         ^^^^^^^^^^
    [javac] The local variable pseudopage is never read
    [javac] ----------
    [javac] ----------
    [javac] 3. WARNING in
va (at line 108)
    [javac]  private boolean important;
    [javac]                  ^^^^^^^^^
    [javac] The field CssStyleRule.important is never read locally
    [javac] ----------
    [javac] ----------
    [javac] 4. ERROR in
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
va (at line 153)
    [javac]  } catch (ProtocolException pex) {
    [javac]           ^^^^^^^^^^^^^^^^^
    [javac] ProtocolException cannot be resolved to a type
    [javac] ----------
    [javac] 6. ERROR in
va (at line 155)
    [javac]  pex.printStackTrace();
    [javac]  ^^^
    [javac] pex cannot be resolved
...... continued in attached file
Thanks for any help you can offer

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

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