Running ant build gives "package org.junit does not exist"

Viewed 49656

When I use a Java IDE to build projects (e.g. NetBeans) that have JUnit tests, they compile fine, but when I try to use ant outside of the IDE to run the build script, I get the error "package org.junit does not exist".

3 Answers
Related