I know the jme project had some changes on its jar distribuitions, then when I updated my working copy it’s no longer working :/. My “Kinect” src folder isn’t being recognized by the other src folders anymore…I’ve already changed the build.impl.xml as well like the other src folders so it can be build properly, but it isn’t. Here’s the output when I try to “clean/build” the project:
[java]
init:
deps-clean:
Updating property file: /media/mypartition/SHARE/jMonkeyProjects/jme-jdk/trunk/engine/build/built-clean.properties
Deleting directory /media/mypartition/SHARE/jMonkeyProjects/jme-jdk/trunk/engine/build
clean:
init:
deps-jar:
Created dir: /media/mypartition/SHARE/jMonkeyProjects/jme-jdk/trunk/engine/build
Updating property file: /media/mypartition/SHARE/jMonkeyProjects/jme-jdk/trunk/engine/build/built-jar.properties
Created dir: /media/mypartition/SHARE/jMonkeyProjects/jme-jdk/trunk/engine/build/classes
Created dir: /media/mypartition/SHARE/jMonkeyProjects/jme-jdk/trunk/engine/build/core
Created dir: /media/mypartition/SHARE/jMonkeyProjects/jme-jdk/trunk/engine/build/kinect
Created dir: /media/mypartition/SHARE/jMonkeyProjects/jme-jdk/trunk/engine/build/plugins
Created dir: /media/mypartition/SHARE/jMonkeyProjects/jme-jdk/trunk/engine/build/jogg
Created dir: /media/mypartition/SHARE/jMonkeyProjects/jme-jdk/trunk/engine/build/blender
Created dir: /media/mypartition/SHARE/jMonkeyProjects/jme-jdk/trunk/engine/build/desktop
Created dir: /media/mypartition/SHARE/jMonkeyProjects/jme-jdk/trunk/engine/build/terrain
Created dir: /media/mypartition/SHARE/jMonkeyProjects/jme-jdk/trunk/engine/build/jbullet
Created dir: /media/mypartition/SHARE/jMonkeyProjects/jme-jdk/trunk/engine/build/bullet
Created dir: /media/mypartition/SHARE/jMonkeyProjects/jme-jdk/trunk/engine/build/niftygui
Created dir: /media/mypartition/SHARE/jMonkeyProjects/jme-jdk/trunk/engine/build/lwjgl
Created dir: /media/mypartition/SHARE/jMonkeyProjects/jme-jdk/trunk/engine/build/android
Compile Core
Created dir: /media/mypartition/SHARE/jMonkeyProjects/jme-jdk/trunk/engine/build/empty
Compiling 475 source files to /media/mypartition/SHARE/jMonkeyProjects/jme-jdk/trunk/engine/build/core
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Creating empty /media/mypartition/SHARE/jMonkeyProjects/jme-jdk/trunk/engine/build/core/checkers/quals/package-info.class
Copying 156 files to /media/mypartition/SHARE/jMonkeyProjects/jme-jdk/trunk/engine/build/core
Compile Kinect
Compiling 6 source files to /media/mypartition/SHARE/jMonkeyProjects/jme-jdk/trunk/engine/build/kinect
Copying 1 file to /media/mypartition/SHARE/jMonkeyProjects/jme-jdk/trunk/engine/build/kinect
Compile Plugins (Ogre, XML)
Compiling 16 source files to /media/mypartition/SHARE/jMonkeyProjects/jme-jdk/trunk/engine/build/plugins
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Copying 1 file to /media/mypartition/SHARE/jMonkeyProjects/jme-jdk/trunk/engine/build/plugins
Compile Jogg
Compiling 3 source files to /media/mypartition/SHARE/jMonkeyProjects/jme-jdk/trunk/engine/build/jogg
Note: /media/mypartition/SHARE/jMonkeyProjects/jme-jdk/trunk/engine/src/jogg/com/jme3/audio/plugins/OGGLoader.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Compile Desktop
Compiling 35 source files to /media/mypartition/SHARE/jMonkeyProjects/jme-jdk/trunk/engine/build/desktop
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Copying 2 files to /media/mypartition/SHARE/jMonkeyProjects/jme-jdk/trunk/engine/build/desktop
Compile Blender Loader
Compiling 82 source files to /media/mypartition/SHARE/jMonkeyProjects/jme-jdk/trunk/engine/build/blender
/media/mypartition/SHARE/jMonkeyProjects/jme-jdk/trunk/engine/src/blender/com/jme3/scene/plugins/blender/constraints/ConstraintInverseKinematics.java:47: warning: unmappable character for encoding UTF-8
//TODO: to nie mo?e by? null, utworzy? dane bez ruchu, w zale?no?ci czy target si? rusza
^
/media/mypartition/SHARE/jMonkeyProjects/jme-jdk/trunk/engine/src/blender/com/jme3/scene/plugins/blender/constraints/ConstraintInverseKinematics.java:47: warning: unmappable character for encoding UTF-8
//TODO: to nie mo?e by? null, utworzy? dane bez ruchu, w zale?no?ci czy target si? rusza
^
/media/mypartition/SHARE/jMonkeyProjects/jme-jdk/trunk/engine/src/blender/com/jme3/scene/plugins/blender/constraints/ConstraintInverseKinematics.java:47: warning: unmappable character for encoding UTF-8
//TODO: to nie mo?e by? null, utworzy? dane bez ruchu, w zale?no?ci czy target si? rusza
^
/media/mypartition/SHARE/jMonkeyProjects/jme-jdk/trunk/engine/src/blender/com/jme3/scene/plugins/blender/constraints/ConstraintInverseKinematics.java:47: warning: unmappable character for encoding UTF-8
//TODO: to nie mo?e by? null, utworzy? dane bez ruchu, w zale?no?ci czy target si? rusza
^
/media/mypartition/SHARE/jMonkeyProjects/jme-jdk/trunk/engine/src/blender/com/jme3/scene/plugins/blender/constraints/ConstraintInverseKinematics.java:47: warning: unmappable character for encoding UTF-8
//TODO: to nie mo?e by? null, utworzy? dane bez ruchu, w zale?no?ci czy target si? rusza
^
/media/mypartition/SHARE/jMonkeyProjects/jme-jdk/trunk/engine/src/blender/com/jme3/scene/plugins/blender/constraints/ConstraintInverseKinematics.java:47: warning: unmappable character for encoding UTF-8
//TODO: to nie mo?e by? null, utworzy? dane bez ruchu, w zale?no?ci czy target si? rusza
^
6 warnings
Copying 4 files to /media/mypartition/SHARE/jMonkeyProjects/jme-jdk/trunk/engine/build/blender
Compile Terrain
Compiling 46 source files to /media/mypartition/SHARE/jMonkeyProjects/jme-jdk/trunk/engine/build/terrain
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Copying 9 files to /media/mypartition/SHARE/jMonkeyProjects/jme-jdk/trunk/engine/build/terrain
Compile jBullet
Compiling 51 source files to /media/mypartition/SHARE/jMonkeyProjects/jme-jdk/trunk/engine/build/jbullet
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Copied 2 empty directories to 2 empty directories under /media/mypartition/SHARE/jMonkeyProjects/jme-jdk/trunk/engine/build/jbullet
Compile Bullet
Compiling 54 source files to /media/mypartition/SHARE/jMonkeyProjects/jme-jdk/trunk/engine/build/bullet
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Compile Nifty
Compiling 8 source files to /media/mypartition/SHARE/jMonkeyProjects/jme-jdk/trunk/engine/build/niftygui
Copying 3 files to /media/mypartition/SHARE/jMonkeyProjects/jme-jdk/trunk/engine/build/niftygui
Compile Lwjgl
Compiling 14 source files to /media/mypartition/SHARE/jMonkeyProjects/jme-jdk/trunk/engine/build/lwjgl
Note: /media/mypartition/SHARE/jMonkeyProjects/jme-jdk/trunk/engine/src/lwjgl/com/jme3/input/lwjgl/JInputJoyInput.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Compile Android
Compiling 23 source files to /media/mypartition/SHARE/jMonkeyProjects/jme-jdk/trunk/engine/build/android
Compile Tests
Compiling 203 source files to /media/mypartition/SHARE/jMonkeyProjects/jme-jdk/trunk/engine/build/classes
/media/mypartition/SHARE/jMonkeyProjects/jme-jdk/trunk/engine/src/test/jme3test/kinect/TestKinect.java:41: package com.jme3.util.openni does not exist
import static com.jme3.util.openni.OpenNIUtils.*;
/media/mypartition/SHARE/jMonkeyProjects/jme-jdk/trunk/engine/src/test/jme3test/kinect/TestMotionCaptureControl.java:44: package com.jme3.scene.control.openni does not exist
import com.jme3.scene.control.openni.MotionCaptureControl;
/media/mypartition/SHARE/jMonkeyProjects/jme-jdk/trunk/engine/src/test/jme3test/kinect/TestMotionCaptureControl.java:45: package com.jme3.scene.control.openni.MotionCaptureControl does not exist
import com.jme3.scene.control.openni.MotionCaptureControl.CaptureMode;
/media/mypartition/SHARE/jMonkeyProjects/jme-jdk/trunk/engine/src/test/jme3test/kinect/TestMotionCaptureControl.java:46: package com.jme3.scene.control.openni does not exist
import com.jme3.scene.control.openni.MotionCaptureEventListener;
/media/mypartition/SHARE/jMonkeyProjects/jme-jdk/trunk/engine/src/test/jme3test/kinect/TestMotionCaptureControl.java:67: cannot find symbol
symbol : class CaptureMode
location: class jme3test.kinect.TestMotionCaptureControl
private CaptureMode captureMode = CaptureMode.DYNAMIC;
/media/mypartition/SHARE/jMonkeyProjects/jme-jdk/trunk/engine/src/test/jme3test/kinect/TestMotionCaptureControl.java:145: cannot find symbol
symbol : class MotionCaptureControl
location: class jme3test.kinect.TestMotionCaptureControl
private MotionCaptureControl createMocap(int user) {
/media/mypartition/SHARE/jMonkeyProjects/jme-jdk/trunk/engine/src/test/jme3test/kinect/TestMotionCaptureControl.java:84: cannot find symbol
symbol : class MotionCaptureControl
location: class jme3test.kinect.TestMotionCaptureControl.UserLink
protected MotionCaptureControl mocap;
/media/mypartition/SHARE/jMonkeyProjects/jme-jdk/trunk/engine/src/test/jme3test/kinect/TestMotionCaptureControl.java:87: cannot find symbol
symbol : class MotionCaptureControl
location: class jme3test.kinect.TestMotionCaptureControl.UserLink
public UserLink(Spatial spt, MotionCaptureControl mocap, KinematicRagdollControl ragdoll) {
/media/mypartition/SHARE/jMonkeyProjects/jme-jdk/trunk/engine/src/test/jme3test/kinect/TestMotionCaptureControl.java:200: cannot find symbol
symbol : class MotionCaptureEventListener
location: class jme3test.kinect.TestMotionCaptureControl
private class MotionCaptureEventListenerImpl implements MotionCaptureEventListener {
/media/mypartition/SHARE/jMonkeyProjects/jme-jdk/trunk/engine/src/test/jme3test/kinect/TestKinect.java:67: cannot find symbol
symbol : method getJointTranslation(org.OpenNI.SkeletonJointPosition)
location: class jme3test.kinect.TestKinect
Vector3f translation = getJointTranslation(skelCap.getSkeletonJointPosition(user, joint));
/media/mypartition/SHARE/jMonkeyProjects/jme-jdk/trunk/engine/src/test/jme3test/kinect/TestKinect.java:68: cannot find symbol
symbol : method getJointRotation(org.OpenNI.SkeletonJointOrientation)
location: class jme3test.kinect.TestKinect
Quaternion rotation = getJointRotation(skelCap.getSkeletonJointOrientation(user, joint));
/media/mypartition/SHARE/jMonkeyProjects/jme-jdk/trunk/engine/src/test/jme3test/kinect/TestMotionCaptureControl.java:67: cannot find symbol
symbol : variable CaptureMode
location: class jme3test.kinect.TestMotionCaptureControl
private CaptureMode captureMode = CaptureMode.DYNAMIC;
/media/mypartition/SHARE/jMonkeyProjects/jme-jdk/trunk/engine/src/test/jme3test/kinect/TestMotionCaptureControl.java:146: cannot find symbol
symbol : class MotionCaptureControl
location: class jme3test.kinect.TestMotionCaptureControl
MotionCaptureControl control = null;
/media/mypartition/SHARE/jMonkeyProjects/jme-jdk/trunk/engine/src/test/jme3test/kinect/TestMotionCaptureControl.java:148: cannot find symbol
symbol : class MotionCaptureControl
location: class jme3test.kinect.TestMotionCaptureControl
control = new MotionCaptureControl(user, kinectInput.getUserGenerator().getSkeletonCapability());
/media/mypartition/SHARE/jMonkeyProjects/jme-jdk/trunk/engine/src/test/jme3test/kinect/TestMotionCaptureControl.java:179: cannot find symbol
symbol : class MotionCaptureControl
location: class jme3test.kinect.TestMotionCaptureControl
MotionCaptureControl mocap = createMocap(user);
/media/mypartition/SHARE/jMonkeyProjects/jme-jdk/trunk/engine/src/test/jme3test/kinect/TestMotionCaptureControl.java:192: cannot find symbol
symbol : class MotionCaptureControl
location: class jme3test.kinect.TestMotionCaptureControl
usrLink.spt.removeControl(MotionCaptureControl.class);
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
16 errors
/media/mypartition/SHARE/jMonkeyProjects/jme-jdk/trunk/engine/build.xml:166: The following error occurred while executing this line:
/media/mypartition/SHARE/jMonkeyProjects/jme-jdk/trunk/engine/nbproject/build-impl.xml:348: Compile failed; see the compiler error output for details.
BUILD FAILED (total time: 11 seconds)
[/java]
As only my test classes aren’t being recognized, then the test src folder can’t recognize my kinect folder.
Nevermind, figured it out! I had just to add “:${build.dir}/kinect” to the “Compile Tests” classpath in build.xml file .