0

I'm tyring to build jEdit in Netbeans in Windows and was getting the following error:

Error: Could not find or load main class org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner Running org.jedit.io.Native2ASCIIEncodingTest Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0 sec Test org.jedit.io.Native2ASCIIEncodingTest FAILED (crashed)

JAVA version: 1.8
Ant: 1.9.4

I've also defined the following source classes:

lib\compile\jsr305.jar
lib\docbook\xml-apis.jar
lib\test\hamcrest-core.jar
lib\test\hamcrest-library.jar
lib\test\junit-dep.jar

Thanks for any help.

Vampire
  • 35,631
  • 4
  • 76
  • 102
bmc cpu
  • 1
  • 2
  • Do you have the Ant Optional package as directed by the README.SRC.txt? – Vampire May 26 '19 at 23:33
  • Should that come with the package? I can find an optional folder in it: \apache-ant-1.9.4\manual\api\org\apache\tools\ant\taskdefs\optional – bmc cpu May 27 '19 at 03:14
  • That's just the manual part, but do you have the actual optional package? And does it build from the command line? – Vampire May 27 '19 at 18:50
  • I tried putting the ant-optional jar but had no success. Ended up using Intellij to build it and it was successful. Thanks for your suggestions. – bmc cpu Jun 08 '19 at 02:29
  • It's the much better IDE anyway. :-D – Vampire Jun 08 '19 at 11:08

0 Answers0