Re: Exceptions running ant war from latest source
Yves Lafon <[email protected]> Tue, 28 Oct 2014 12:40:52 -0400 (EDT)
| Newsgroups | gmane.org.w3c.validator.css |
|---|---|
| Message-ID | <[email protected]> |
On Mon, 27 Oct 2014, Jaime Iniesta wrote:
> I get into two errors when following the instructions at
> https://github.com/tlvince/w3c-css-validator-guide
>
> 1) build.xml specifies a wrong version of htmlparser to unzip:
>
> <unzip src=3D"tmp/htmlparser-1.3.1.zip" dest=3D"tmp"/>
Fixed, thanks for spotting it.
>
> 2) But even if I fix that, "ant war" complains with this:
>
> ##############
> [javac] /home/user/build/2002/css-validator/build.xml:91: warning:
> 'includeantruntime' was not set, defaulting to build.sysclasspath=3Dlast;=
set
> to false for repeatable builds
> [javac] Compiling 1144 source files to
> /home/user/build/2002/css-validator/build
> [javac] javac: invalid target release: 1.7
> [javac] Usage: javac <options> <source files>
> [javac] use -help for a list of possible options
This usually means that you are building it with a jdk6 or lower. As the=20
diamond operator is used, you need to use jdk7 or higher for this.
Thanks,
--=20
Baroula que barouleras, au ti=C3=A9u toujou t'entourneras.
~~Yves