Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (522)
Games in Android Showcase (127)
games submitted by our members
Games in WIP (590)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  log4j issues with JInput  (Read 2032 times)
0 Members and 1 Guest are viewing this topic.
Offline paulb

Senior Newbie





« Posted 2009-11-23 10:56:11 »

Hi,
  I use log4j in my application and have noted that the application doesnt run correctly i.e. the thread waiting on the event queue doesnt run or seems to hang!

I also notice that when I run my app and when I call the getDefaultEnvironment.getControllers() method that some debug/info is printed.  This looks suspiciously like a log4j format?

Are there any known issues relating to log4j?

Thanks.
Offline endolf

JGO Coder


Medals: 7
Exp: 15 years


Current project release date: sometime in 3003


« Reply #1 - Posted 2009-11-24 06:54:17 »

Hi

Which build are you using?. Up until a couple of weeks ago JInput used to dump some information straight to stdout/stderr. I changed this so that it's using java logging.

I have no idea why you are seeing some threads hang, have you considered that when running in debug mode you are still generating OS events that JInput will try and process when it next gets a chance?. Unfortunatly this might be one of those cases when running a debugger effects the operation of the application.

Endolf

Offline paulb

Senior Newbie





« Reply #2 - Posted 2009-11-25 09:07:11 »

Hi

Which build are you using?. Up until a couple of weeks ago JInput used to dump some information straight to stdout/stderr. I changed this so that it's using java logging.

I have no idea why you are seeing some threads hang, have you considered that when running in debug mode you are still generating OS events that JInput will try and process when it next gets a chance?. Unfortunatly this might be one of those cases when running a debugger effects the operation of the application.

Endolf

Not sure which version it is.  Doesnt seem to be any info in the readme file.  I noticed that there is a version.java file, which has the version variable.  This is set to 2.0.0.-b01.  Is this correct?

I downloaded it a couple of weeks ago.

Maybe I should look at the source code.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline endolf

JGO Coder


Medals: 7
Exp: 15 years


Current project release date: sometime in 3003


« Reply #3 - Posted 2009-11-26 06:46:49 »

Hi

You can try the latest nightly build from here. Looks like the file size changed on the 1st of november build and later.

HTH

Endolf

Offline paulb

Senior Newbie





« Reply #4 - Posted 2009-11-30 15:39:51 »

Hi

You can try the latest nightly build from here. Looks like the file size changed on the 1st of november build and later.

HTH

Endolf

Thanks Endolf for your response again.  The link you have listed is for the build.  I need to rebuild the source code for glibc 2.7, if I recall.

At what point did the source code change?
Offline endolf

JGO Coder


Medals: 7
Exp: 15 years


Current project release date: sometime in 3003


« Reply #5 - Posted 2009-12-02 17:36:16 »

Hi

According the ever slow and painful java.net, I checked in a change with a timestamp of 2009-10-31 11:06:12+0000

HTH

Endolf

P.S sorry for the wait, I've been hiding under a duvet with man flu for a few days.

Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

trollwarrior1 (33 views)
2014-11-22 12:13:56

xFryIx (73 views)
2014-11-13 12:34:49

digdugdiggy (52 views)
2014-11-12 21:11:50

digdugdiggy (46 views)
2014-11-12 21:10:15

digdugdiggy (40 views)
2014-11-12 21:09:33

kovacsa (65 views)
2014-11-07 19:57:14

TehJavaDev (69 views)
2014-11-03 22:04:50

BurntPizza (67 views)
2014-11-03 18:54:52

moogie (82 views)
2014-11-03 06:22:04

CopyableCougar4 (82 views)
2014-11-01 23:36:41
Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!