« Return to Thread: NbModuleSuite not working on the Mac

NbModuleSuite not working on the Mac

by David Van Couvering-2 :: Rate this Message:

Reply to Author | View in Thread

I was very happy to find NbModuleSuite that lets me run tests for a module within the context of a NB runtime - in particular other modules I depend on and their layer files are loaded.

The problem: it's completely broken on the Mac.  NbModuleSuite throws an assertion failure because it can't find "lib/tools.jar" underneath the Java platform directory.  Apple's JDK doesn't have a 'lib' directory and it doesn't have a 'tools.jar'. 

Anybody know how to get around this?  Or am I SOL? 

Thanks,

David

-- Stack trace --

Exception in thread "main" junit.framework.AssertionFailedError
        at junit.framework.Assert.fail(Assert.java:47)
        at junit.framework.Assert.assertTrue(Assert.java:20)
        at junit.framework.Assert.assertTrue(Assert.java:27)
        at org.netbeans.junit.NbModuleSuite$S.runInRuntimeContainer(NbModuleSuite.java:146)
        at org.netbeans.junit.NbModuleSuite$S.run(NbModuleSuite.java:128)
        at junit.framework.TestSuite.runTest(TestSuite.java:230)
        at junit.framework.TestSuite.run(TestSuite.java:225)
        at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:421)
        at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:912)
        at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:766)
--
David W. Van Couvering
http://davidvancouvering.blogspot.com

 « Return to Thread: NbModuleSuite not working on the Mac

LightInTheBox - Buy quality products at wholesale price!