java - jUnit tests no longer runnable after upgrading from NetBeans 8.0 to 8.1 -


i have workspace builds open source jedit editor, worked fine in netbeans 8.0, , upgraded netbeans 8.1, , imported ide settings. when build project has new error:

error: not find or load main class org.apache.tools.ant.taskdefs.optional.junit.junittestrunner ... c:\..\jedit-svn\build.xml:453: unit test(s) failed! see reports @ c:\users\warren\ideaprojects\jedit-svn\build/test/reports/index.html build failed (total time: 15 seconds) 

i have junit-4.12.jar , hamcrest-core-1.3.jar referenced in project classpath/jar-list. junit plugin netbeans installed. netbeans configuration pointing @ version of ant appears correct, , being used netbeans run build , test operations.

everything works command prompt in windows (ant test), fails inside netbeans.

the output window contains above message, index.html contains other weird error:

class org.jedit.io.native2asciiencodingtest  unknown error forked java vm exited abnormally. please note time  in report not reflect time until vm exit.  junit.framework.assertionfailederror: forked java vm exited abnormally. please note time in report not reflect time until   vm exit. @ org.netbeans.core.execution.runclassthread.run(runclassthread.java:153)  

wacky thing confusing me , may what's going on. when run unit tests inside ide, "properties" inside junit report html failed test show ant.java.version 1.8 , java 1.8 appropriate java.class.path, build.xml states target.java.version of 1.7. have both jdk 1.7 , 1.8 installed. thought version of java specified in build.xml trumps whatever workspace jdk selection in netbeans, not here.


Comments

Popular posts from this blog

Delphi XE2 Indy10 udp client-server interchange using SendBuffer-ReceiveBuffer -

Qt ActiveX WMI QAxBase::dynamicCallHelper: ItemIndex(int): No such property in -

Enable autocomplete or intellisense in Atom editor for PHP -