Created attachment 354 [details] build log On my GNU/Linux machine (ant 1.8.2, J2SE 1.6.*) I ran: jinput> ant 2>&1 | tee ant.log It failed, see attachment 1 [details] (ant.log) for details : +++ compile: [javac] /usr/local/projects/JOGL/jinput/coreAPI/build.xml:13: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds [javac] Compiling 21 source files to /usr/local/projects/JOGL/jinput/coreAPI/classes [javac] /usr/local/projects/JOGL/jinput/coreAPI/src/java/net/java/games/input/DefaultControllerEnvironment.java:54: package net.java.games.util.plugins does not exist [javac] import net.java.games.util.plugins.*; [javac] ^ [javac] /usr/local/projects/JOGL/jinput/coreAPI/src/java/net/java/games/input/DefaultControllerEnvironment.java:202: cannot find symbol [javac] symbol : class Plugins [javac] location: class net.java.games.input.DefaultControllerEnvironment [javac] Plugins plugins = new Plugins(file); [javac] ^ [javac] /usr/local/projects/JOGL/jinput/coreAPI/src/java/net/java/games/input/DefaultControllerEnvironment.java:202: cannot find symbol [javac] symbol : class Plugins [javac] location: class net.java.games.input.DefaultControllerEnvironment [javac] Plugins plugins = new Plugins(file); [javac] ^ [javac] 3 errors +++
sorry, I meant attachment 354 [details] - ofc.
I like one of you (Julien, Sierra..) to fix this bug (assigned person) and tell me how to fix. Thank you. (I am offline tomorrow, back on Saturday)
(In reply to comment #2) > I like one of you (Julien, Sierra..) to fix this bug (assigned person) > and tell me how to fix. Thank you. > > (I am offline tomorrow, back on Saturday) I'll do it. But It will be on Monday.
(In reply to comment #2) > I like one of you (Julien, Sierra..) to fix this bug (assigned person) > and tell me how to fix. Thank you. > > (I am offline tomorrow, back on Saturday) I can find a few minutes to fix it now. I already know how to fix it, I just don't remember how. I saw this missing class in a GIT copy that Sierra mentioned once.
(In reply to comment #2) > I like one of you (Julien, Sierra..) to fix this bug (assigned person) > and tell me how to fix. Thank you. > > (I am offline tomorrow, back on Saturday) You need jutils.jar, it is mentioned here: https://github.com/sgothel/jinput/blob/master/coreAPI/build.xml line 5: <property name="utils" location="../lib/jutils.jar"/> Its source code is here: https://svn.java.net/svn/jutils~svn
Created attachment 355 [details] missing JAR Put it into /lib to compile JInput
Created attachment 356 [details] missing JAR Put this JAR into /lib, this one works whereas the previous one was broken.
I'm working on this bug right now.
This is the message I get. Which is actually different than Sven's. C:\Users\Main\Pictures\jogamp\jinput>ant Buildfile: C:\Users\Main\Pictures\jogamp\jinput\build.xml init: dist: init: compile: [javac] C:\Users\Main\Pictures\jogamp\jinput\coreAPI\build.xml:13: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to f alse for repeatable builds [copy] Copying 1 file to C:\Users\Main\Pictures\jogamp\jinput\coreAPI\build \src\java\net\java\games\input [javac] C:\Users\Main\Pictures\jogamp\jinput\coreAPI\build.xml:29: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to f alse for repeatable builds [javac] Compiling 1 source file to C:\Users\Main\Pictures\jogamp\jinput\core API\classes [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.4 [javac] 1 warning [echo] Build version class for 2.0.6 build 5 jar: [jar] Building jar: C:\Users\Main\Pictures\jogamp\jinput\coreAPI\bin\jinpu t-core.jar all: [echo] JInput has been built and jinput.jar is located in the bin directory . init: compile: [javac] C:\Users\Main\Pictures\jogamp\jinput\plugins\linux\build.xml:15: war ning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; se t to false for repeatable builds jar: createJNIHeaders: [javah] Error: Class net.java.games.input.AbstractComponent could not be fou nd. BUILD FAILED C:\Users\Main\Pictures\jogamp\jinput\build.xml:117: The following error occurred while executing this line: C:\Users\Main\Pictures\jogamp\jinput\build.xml:75: The following error occurred while executing this line: C:\Users\Main\Pictures\jogamp\jinput\plugins\linux\build.xml:56: compilation fai led Total time: 2 seconds
Correction. My error is the same as Sven's.
Tip: putting jutils.jar inside jinput/lib/ resolves Sven's and my error.
(In reply to comment #11) > Tip: putting jutils.jar inside jinput/lib/ resolves Sven's and my error. That's what I said some days ago ;) Thanks for the feedback.
Thank you Julien for solving this and Sierra to confirm. Will try to have a short Jinput review and test the build. After Julien's comment 7, I already added jutils to our repos.