Skip to main content

scriptingComponent compile error

6 replies [Last post]
seungchan
Offline
Joined: 2008-02-02
Points: 0

Hello,

I download scriptingComponent in unstable and compile it.
Then I got the following error message.
wonderland version : preview 2
scriptingComponent : preview 2

I also did it in trunk version, and got the same error message.

Buildfile: build.xml

-module-ant-task:

-module-init:
[mkdir] Created dir: /Users/SeungLee/Wonderland2/scriptingComponent/build/classes
[mkdir] Created dir: /Users/SeungLee/Wonderland2/scriptingComponent/build/lib

-module-compile-common:
[javac] Compiling 8 source files to /Users/SeungLee/Wonderland2/scriptingComponent/build/classes

-module-compile-server:
[javac] Compiling 1 source file to /Users/SeungLee/Wonderland2/scriptingComponent/build/classes

-module-compile-client:
[javac] Compiling 21 source files to /Users/SeungLee/Wonderland2/scriptingComponent/build/classes
[javac] /Users/SeungLee/Wonderland2/scriptingComponent/src/classes/org/jdesktop/wonderland/modules/scriptingComponent/client/TridentAnimations.java:64: duplicate class: org.jdesktop.wonderland.modules.scriptingComponent.client.FloatPropertyInterpolator
[javac] class FloatPropertyInterpolator implements PropertyInterpolator
[javac] ^
[javac] /Users/SeungLee/Wonderland2/scriptingComponent/src/classes/org/jdesktop/wonderland/modules/scriptingComponent/client/ControllerInterface.java:10: package net.java.games.input does not exist
[javac] import net.java.games.input.Component;
[javac] ^
[javac] /Users/SeungLee/Wonderland2/scriptingComponent/src/classes/org/jdesktop/wonderland/modules/scriptingComponent/client/ControllerInterface.java:11: package net.java.games.input does not exist
[javac] import net.java.games.input.Controller;
[javac] ^
[javac] /Users/SeungLee/Wonderland2/scriptingComponent/src/classes/org/jdesktop/wonderland/modules/scriptingComponent/client/ControllerInterface.java:12: package net.java.games.input does not exist
[javac] import net.java.games.input.ControllerEnvironment;
[javac] ^
[javac] /Users/SeungLee/Wonderland2/scriptingComponent/src/classes/org/jdesktop/wonderland/modules/scriptingComponent/client/ControllerInterface.java:20: cannot find symbol
[javac] symbol : class ControllerEnvironment
[javac] location: class org.jdesktop.wonderland.modules.scriptingComponent.client.ControllerInterface
[javac] private ControllerEnvironment ce;
[javac] ^
[javac] /Users/SeungLee/Wonderland2/scriptingComponent/src/classes/org/jdesktop/wonderland/modules/scriptingComponent/client/ControllerInterface.java:21: cannot find symbol
[javac] symbol : class Controller
[javac] location: class org.jdesktop.wonderland.modules.scriptingComponent.client.ControllerInterface
[javac] private Controller theController;
[javac] ^
[javac] /Users/SeungLee/Wonderland2/scriptingComponent/src/classes/org/jdesktop/wonderland/modules/scriptingComponent/client/ControllerInterface.java:22: cannot find symbol
[javac] symbol : class Component
[javac] location: class org.jdesktop.wonderland.modules.scriptingComponent.client.ControllerInterface
[javac] private Component component12;
[javac] ^
[javac] /Users/SeungLee/Wonderland2/scriptingComponent/src/classes/org/jdesktop/wonderland/modules/scriptingComponent/client/ControllerInterface.java:23: cannot find symbol
[javac] symbol : class Component
[javac] location: class org.jdesktop.wonderland.modules.scriptingComponent.client.ControllerInterface
[javac] private Component component11;
[javac] ^
[javac] /Users/SeungLee/Wonderland2/scriptingComponent/src/classes/org/jdesktop/wonderland/modules/scriptingComponent/client/ControllerInterface.java:24: cannot find symbol
[javac] symbol : class Component
[javac] location: class org.jdesktop.wonderland.modules.scriptingComponent.client.ControllerInterface
[javac] private Component component10;
[javac] ^
[javac] /Users/SeungLee/Wonderland2/scriptingComponent/src/classes/org/jdesktop/wonderland/modules/scriptingComponent/client/ControllerInterface.java:29: cannot find symbol
[javac] symbol : variable ControllerEnvironment
[javac] location: class org.jdesktop.wonderland.modules.scriptingComponent.client.ControllerInterface
[javac] ce = ControllerEnvironment.getDefaultEnvironment();
[javac] ^
[javac] /Users/SeungLee/Wonderland2/scriptingComponent/src/classes/org/jdesktop/wonderland/modules/scriptingComponent/client/ControllerInterface.java:33: cannot find symbol
[javac] symbol : class Controller
[javac] location: class org.jdesktop.wonderland.modules.scriptingComponent.client.ControllerInterface
[javac] Controller[] ca = ce.getControllers();
[javac] ^
[javac] /Users/SeungLee/Wonderland2/scriptingComponent/src/classes/org/jdesktop/wonderland/modules/scriptingComponent/client/ControllerInterface.java:38: package net.java.games.input does not exist
[javac] net.java.games.input.Component[] components = ca[i].getComponents();
[javac] ^
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 12 errors

BUILD FAILED
/Users/SeungLee/Wonderland2/wonderland/modules/build-tools/build-scripts/module-build.xml:94: The following error occurred while executing this line:
/Users/SeungLee/Wonderland2/wonderland/build-tools/build-scripts/build-setup.xml:61: The following error occurred while executing this line:
/Users/SeungLee/Wonderland2/wonderland/build-tools/build-scripts/build-setup.xml:37: Compile failed; see the compiler error output for details.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
matty_x
Offline
Joined: 2008-06-16
Points: 0

I'm jazzed to try out the scripting component after Morris presented it today during the community test. It looks like it hasn't been updated yet for more recent trunks (I'm running 4328 presently). Is this correct?

I get the exact same compile error as Seungchan posted above with the version I'm using (rev. 747).

morrisford
Offline
Joined: 2008-03-17
Points: 0

There are cross version issues and the trunk version is old. I was just about to put up a new trunk version but it appears that there will be a new preview3 stabilized version in a day or two (I hope, I hope, I hope). As soon as that one appears I will make everything work with that release. Also, every time I don't have anything interesting to do, I am working on getting the wiki formatted properly and the newest stuff added. Everything should come together for that preview3 release.

morrisford
Offline
Joined: 2008-03-17
Points: 0

Are you using the checkout of the WL source and the scriptingComponent from preview2? Both need to be from preview2.

micheldenis
Offline
Joined: 2007-12-10
Points: 0

Hi Morris,

This is a problem that most of us here have: we are mostly running the evolving trunk, not preview2 which is now kind of prehistory, so many improvements have happened in WL since preview2 and we avoid using it now. Any chance to have the scripting package run now on the evolving trunk ?

Cheers,
-michel

morrisford
Offline
Joined: 2008-03-17
Points: 0

Ok. I'll get a version up that runs with whatever current trunk version I check out. It should be sometime in the next few days. I will not however be updating every time the trunk changes. I tried that for a while and it made me crazy (crazier rather). I have been waiting for preview3 to update my stuff but it doesn't seem to be coming.

seungchan
Offline
Joined: 2008-02-02
Points: 0

Hi Morris,

If you can fix it, that would be great.
I also did it in preview 2, but I got the same error. I am not sure why.
Thank you.