Re: Problems with setting up css-validator

On Tue, Jan 20, 2009 at 03:27:04PM +0100, Jean-Guilhem Rouel <jean-gui@w3.org> wrote:
> I've made some changes in the codebase and in build.xml. Can you update 
> and try again?
> 
> [[
>  > ant jar
>  > java -jar css-validator.jar http://www.w3.org
> {output=text, medium=all, warning=2, profile=css21, lang=en}
> W3C CSS Validator results for http://www.w3.org
> 
>      Congratulations! No Error Found.
> [...]
> ]]

Great!

I still need this patch:

diff --git a/build.xml b/build.xml
index 0499af1..58cab91 100644
--- a/build.xml
+++ b/build.xml
@@ -77,7 +77,7 @@
 	<target name="build" description="Builds the validator" depends="prepare">
 		<mkdir dir="./build"/>
 		<javac classpathref="build.class.path" destdir="./build" encoding="UTF-8"
-           debug="yes" includes="org/w3c/**" srcdir="."/>
+           debug="yes" includes="org/w3c/**" srcdir="." source="1.6"/>
 		<copy todir="./build">
       <fileset dir="./">
         <include name="org/**"/>

But after that change, it works fine.

What compiler do you use?

Thanks.

Received on Tuesday, 20 January 2009 14:48:12 UTC