ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Jackson" <foamd...@gmail.com>
Subject Cannot run ant test target on svn trunk
Date Wed, 03 Oct 2007 04:49:45 GMT
Hi all,

Tried to run a single test with:

ant -Djunit.testcase=org.apache.tools.ant.taskdefs.optional.ssh.ScpTest
junit-single-test

And I'm getting a failure with:

Buildfile: build.xml

prepare:

check_for_optional_packages:

build:
     [copy] Copying 2 files to D:\eclipse\workspace\ant-core-trunk\build\classes


compile-tests:

probe-offline:

test-init:

junit-single-test-only:
    [javac] Compiling 1 source file to D:\eclipse\workspace\ant-core-trunk\build
\failingTests
    [javac] D:\eclipse\workspace\ant-core-trunk\build\failingTests\FailedTests.j
ava:9: junit.framework.TestSuite$1 is not public in junit.framework; cannot be a
ccessed from outside package
    [javac]         suite.addTest(new junit.framework.TestSuite$1("warning"));
    [javac]                                          ^
    [javac] 1 error

BUILD FAILED
D:\eclipse\workspace\ant-core-trunk\build.xml:1903: The following error occurred
 while executing this line:
D:\eclipse\workspace\ant-core-trunk\build.xml:1610: Compile failed; see the comp
iler error output for details.

Total time: 3 seconds

I get the same error with vanilla 'ant test'

I can bootstrap + build fine, but the tests aren't compiling. Anyone
else seeing this problem? (WinXP SP2)

Thanks,
Kev

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message