Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ant configuration fails to find junit. #24

Closed
Boskovits opened this issue Dec 13, 2017 · 1 comment
Closed

Ant configuration fails to find junit. #24

Boskovits opened this issue Dec 13, 2017 · 1 comment

Comments

@Boskovits
Copy link
Owner

Boskovits commented Dec 13, 2017

All pacakges using junit fails to build on wip-change-default-java8.
Example error message:
BUILD FAILED
/tmp/guix-build-java-bsh-2.0b6.drv-0/beanshell-2.0b6/build.xml:654: Problem: failed to create task or type junit
Cause: the class org.apache.tools.ant.taskdefs.optional.junit.JUnitTask was not found.
This looks like one of Ant's optional components.
Action: Check that the appropriate optional JAR exists in
-/gnu/store/6lzf3cp16m0xgwr00lymqd3v6fgpvzxv-ant-1.10.1/lib
-/.ant/lib
-a directory added on the command line with the -lib argument

Do not panic, this is a common problem.
The commonest cause is a missing JAR.

This is not a bug; it is a configuration problem

@Boskovits
Copy link
Owner Author

It seems, that by adding java-junit and ant-junit to native inputs fixes this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant