- From: <css-validator.maricau@a-bc.net>
- Date: Fri, 30 Mar 2007 17:37:11 +0200
- To: www-validator-css@w3.org
- Message-ID: <1dbc7c340703300837s46ae07a3m893c412d89ba37b4@mail.gmail.com>
Thanks for these tool. I've installed/compiled it on a linux OpenSuSE 10.2. If this can be helpful for someone ! This is not really a question but an tentative to explain/write a howto install/compile the css-validator after you downloaded it from cvs Some information can be found there : http://jigsaw.w3.org/css-validator/DOWNLOAD.html http://dev.w3.org/cvsweb/2002/css-validator/ If you're behind a proxy server you can have some problems with too speed connection requests : For this i've used cvsgrab <http://cvsgrab.sourceforge.net/> with a script like this (don't forget to put your address and port for the proxy you use after the download is done you can do ctrl+c to stop it) UNIX/BASH-shell script #>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> sh ./cvsgrab.sh -url http://dev.w3.org/cvsweb/2002/css-validator --proxyHost ip-proxy --proxyPort proxyportnr 2>&1| tee 2002-error.log& LASTPID=$! trap 'kill $!;exit' 2 while : do sleep 2 kill -20 $LASTPID kill -18 $LASTPID done #>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> - A working java environment, The one i've used : java-1_5_0-sun-1.5.0_update10 java-1_5_0-sun-devel-1.5.0_update10 - The Ant <http://ant.apache.org/> java building tool ant-1.6.5 - A java Web servlet container such as Jigsaw<http://www.w3.org/Jigsaw/>, Tomcat <http://tomcat.apache.org/> or Jetty <http://www.mortbay.org/>if you plan on using the validator as an online service. This guide only covers Tomcat and Jigsaw in details. I've used tomcat : tomcat5-5.0.30 For the installation of the validator onto your system, you will need to download and/or find in your system a number of java libraries: - servlet.jar (which, if you have Tomcat installed in [TOMCAT_DIR], you should find in [TOMCAT_DIR]/common/lib/) possibly under the name servlet-api.jar. If not, get it at java.sun.com<http://java.sun.com/products/servlet/download.html> The version of tomcat : servlet-api.jar - jigsaw.jar <http://jigsaw.w3.org/Devel/classes-2.2/20060329/> latest version from : http://jigsaw.w3.org/Devel/classes-2.2/ - xercesImpl.jar and xml-apis.jar (which can be downloaded with xerces-j-bin <http://www.apache.org/dist/xml/xerces-j/>). latest version from http://www.apache.org/dist/xml/xerces-j/ For a proper compilation i have to initiliaze correctly the CLASSPATH environment variable. like this with a UNIX/BASH-shell script and put the jar file under jar directory for example. jigsaw.jar, xercesImpl.jar, xml-apis.jar #>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> WD=`pwd` echo "The necessary classes are there $WD/jar" echo "les classes nécessaires sont dans $WD/jar" JAVA_HOME="/usr/lib/jvm/java" TOMCAT_HOME="/usr/share/tomcat5/" CLASSPATH=".:$TOMCAT_HOME/common/lib/servlet-api.jar:" CLASSPATH="$CLASSPATH:$WD/jar/xercesImpl.jar:$WD/jar/jigsaw.jar:$WD/jar/xml-apis.jar" export CLASSPATH TOMCAT_HOME JAVA_HOME #>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> <http://lists.w3.org/Archives/Public/www-validator-css/2006Jun/0005>
Received on Saturday, 31 March 2007 13:36:32 UTC