So, build-wise this looks MUCH better.. Thank you. Where did i overlook that info which svn - link to choose?
Both projects (xith3d and xith-tk) open and build in netbeans, but you may have
to adapt build-defaults.properties of xith-tk before, don't you?
(EDIT: No, you don't have to... But you've got to get your directories right
of course.. both root directories have to be on the same level and
you've got to avoid deeper "nesting".. something like this
(...) Projects/xith3d/xith3d/ in conjunction with Projects/xith-tk/ won't work
because core.location, core.classes and core.deps entries of build-defaults-properties will get invalid..)
The last hurdle is starting the demos within the xith-tk project.
I get the launcher, but after selecting the BaseStart demo..
java.lang.ClassCastException: org.xith3d.scenegraph.TransformGroup
at org.xith3d.render.base.Xith3DEnvironment.addChild(Xith3DEnvironment.java:694)
at org.xith3d.test.base.BaseTest.initBeforeCanvas(BaseTest.java:107)
at org.xith3d.test.base.BaseTest.<init>(BaseTest.java:142)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
sdfsdsdf
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at org.xith3d.test.Xith3DTestLauncher.runTest(Xith3DTestLauncher.java:807)
at org.xith3d.test.Xith3DTestLauncher.onStartButtonClicked(Xith3DTestLauncher.java:178)
at org.xith3d.utility.canvas.DisplayOptions.waitForStart(DisplayOptions.java:977)
at org.xith3d.utility.canvas.DisplayOptions.<init>(DisplayOptions.java:1006)
at org.xith3d.test.Xith3DTestLauncher.<init>(Xith3DTestLauncher.java:709)
at org.xith3d.test.Xith3DTestLauncher.main(Xith3DTestLauncher.java:861)
Another issue (but minor) is the case that teststarter.bat and teststarter.sh
are broken, there's still a classpath to vecmath/vecmath.jar in there and
not to math/openmali.jar, and Xith3DTestStarter is called not Xith3DTestLauncher...
But maybe i'm overlooking something again.
AND ANOTHER EDIT:
Hmmm, it seems that the "run" target doesn't work for me, maybe because i didn't check out within the IDE but via "Tortoise" (yes, i'm on a windows machine at the moment..) and exported the directories in my projects directory... I've got
to check the classpath stuff, i think.
It's definitely a classpath problem, while im within the xith-tk project the
demo projects don't get the packages of the xith3d core...
By the way: The project.xml files still contains a link to the old vecmath stuff?
<classpath mode="compile">third-party/jogl/jogl.jar;third-party/joal/windows/joal.jar;third-party/lwjgl/lwjgl.jar;third-party/misc/log4j.jar;third-party/misc/vorbis.jar;third-party/vecmath/vecmath-kh.jar
</classpath>