You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Gintautas Grigelionis <g....@gmail.com> on 2017/05/28 13:47:43 UTC

Getting checkstyle to work in build.xml

I tried to replace the current ivy:cachepath at line 578 (or so) with

        <ivy:cachepath organisation="com.puppycrawl.tools"
module="checkstyle" revision="7.7"
                inline="true" pathid="checkstyle.classpath" type="jar"
                transitive="true" log="download-only"/>

but that fails with

[ivy:cachepath]
[ivy:cachepath] :: problems summary ::
[ivy:cachepath] :::: WARNINGS
[ivy:cachepath]         ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:cachepath]         ::          UNRESOLVED DEPENDENCIES         ::
[ivy:cachepath]         ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:cachepath]         :: junit#junit;4.12: configuration not found in
junit#junit;4.12: 'master'. It was required from
org.powermock#powermock-module-junit4;1.6.6 compile
[ivy:cachepath]         ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:cachepath]

Looks like a nice homework, but maybe someone has a solution (as Larry Wall
said, laziness, impatience and hubris :-)? Thanks in advance,

Gintas