Troubles with running a test [jME version 2]

Hi,

I'm trying to run the demos, but there is something wrong. I'm using the SVN version and NetBeans 6.5. Any ideas why I'm getting this?

01/04/2009 13:44:55 jmetest.TestChooser start
INFO: Composing Test list...
01/04/2009 13:44:55 jmetest.TestChooser find
INFO: Searching for Demo classes in "jmetest".
Exception in thread "main" java.lang.ExceptionInInitializerError
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:169)
        at jmetest.TestChooser.load(TestChooser.java:218)
        at jmetest.TestChooser.addAllFilesInDirectory(TestChooser.java:262)
        at jmetest.TestChooser.addAllFilesInDirectory(TestChooser.java:258)
        at jmetest.TestChooser.find(TestChooser.java:166)
        at jmetest.TestChooser.addDisplayedClasses(TestChooser.java:541)
        at jmetest.TestChooser.start(TestChooser.java:454)
        at jmetest.TestChooser.main(TestChooser.java:444)
Caused by: java.lang.RuntimeException: Uncompilable source code - cannot find symbol
symbol: class BaseSimpleGame
        at com.jme.app.SimpleGame.<clinit>(SimpleGame.java:46)
        ... 9 more
Java Result: 1

Hmmm, try running an SVN update. Maybe for some reason it didn't pull down all the source code. You might also try cleaning the project and building it from ANT too.

If I open BoundingBox.java I find a "Incorrect Package" in the line package "com.jme.bounding;", if I change it to "package src.com.jme.bounding;" the error disapear… could this be a bug? Is there any configurations I should change on NetBeans?



Thanks again,

Dirso

Yes, it appears to be a project configuration issue in NetBeans. I use eclipse, so can't help much. Find where the source directory is defined, and make your change there.

I'm so so sorry… I should have added the subfolders not the root folder… such a n00b error. sorry again.

Glad you got it running.