Skip to content

Loading…

Classpath use seems to be broken in junit ant task? #667

Closed
andrewcooke opened this Issue · 2 comments

2 participants

@andrewcooke

At http://ant.apache.org/manual/Tasks/junit.html item 5 near the top of the page suggests that the junit task in ant should work if the jar is provided by classpath.

However, the issue described in detail at http://stackoverflow.com/questions/15979391/class-not-found-with-ant-ivy-and-junit-error-in-build-xml seems to show that is not the case - there is a class not found error even when the classpath is set correctly.

The code for the project can be downloaded from https://bitbucket.org/isti/java-example

So to reproduce:

hg clone ssh://hg@bitbucket.org/isti/java-example
cd java-example
ant test
@dsaff
JUnit member

You'd probably have more luck filing the bug with ant--we don't maintain the ant task here. Sorry.

David

@dsaff dsaff closed this
@andrewcooke

OK, will do, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.