#jogamp @ irc.freenode.net - 20141228 05:05:03 (UTC)


20141228 05:05:03 -jogamp- Previous @ http://jogamp.org/log/irc/jogamp_20141227050502.html
20141228 05:05:03 -jogamp- This channel is logged @ http://jogamp.org/log/irc/jogamp_20141228050503.html
20141228 10:16:18 * monsieur_max (~maxime@anon) has joined #jogamp
20141228 11:01:43 * Eclesia (~eclesia@anon) has joined #jogamp
20141228 11:02:19 <Eclesia> good morning vietnam !
20141228 11:04:27 <rmk0> lo
20141228 12:06:02 <Eclesia> rmk0: and that's it JSpatial merged in :)
20141228 12:06:10 <rmk0> huzzah
20141228 12:07:42 <Eclesia> I couldn't say it any better
20141228 12:15:44 <Eclesia> rmk0: you want some other links/infos on the contributor page ? http://unlicense.developpez.com/contrib.html
20141228 12:16:28 <rmk0> think that's fine
20141228 12:16:42 <rmk0> doing my best to keep those mvn.io7m.com/* uris stable
20141228 12:16:50 <rmk0> a lot of them got broken this year
20141228 12:17:31 <rmk0> the jogamp site still points to a broken one, actually
20141228 12:17:45 * rmk0 nudges sgothel
20141228 13:20:34 <Eclesia> ho right, list updated : http://unlicense.developpez.com/index.html
20141228 13:20:45 <Eclesia> so much left to do ... *cry*
20141228 14:04:03 <rmk0> anyone happen to know the code required to get unit tests that use JOGL running on android?
20141228 14:04:13 <rmk0> in order to have a unit test run on android, it has to extend InstrumentationTestCase
20141228 14:04:54 <rmk0> the only example code i can see on android extends one of the existing jogl launcher activities
20141228 14:12:52 * Eclesia don't know
20141228 14:13:15 <rmk0> suspect it's something about two or three people on the planet have ever done
20141228 14:13:26 <Eclesia> héhé
20141228 14:14:08 <Eclesia> rmk0: you will become one of the world wide expert once you learn how to do it
20141228 14:14:55 <rmk0> i think it'll require a custom version of the newt base activity
20141228 14:15:08 <rmk0> one that extends InstrumentationTestCase
20141228 14:17:07 <rmk0> android is very intrusive
20141228 14:18:14 <Eclesia> have to go, see you later ++
20141228 14:18:32 <rmk0> byeee
20141228 14:18:33 * Eclesia (~eclesia@anon) Quit (Quit: Leaving.)
20141228 14:41:34 * monsieur_max (~maxime@anon) Quit (Quit: Leaving.)
20141228 15:30:30 * sensea (60ff387c@anon) has joined #jogamp
20141228 16:10:34 * gouessej (52794bbe@anon) has joined #jogamp
20141228 16:10:48 <gouessej> Hi
20141228 16:10:55 <gouessej> sensea: It was just a warning
20141228 16:11:06 <gouessej> sensea: it wasn't the root cause of your problem
20141228 16:12:05 <sensea> ok
20141228 16:12:13 <sensea> hi
20141228 16:12:51 <gouessej> sensea: Which version of Ardor3D do you use?
20141228 16:12:52 <sensea> I'm putting together string for classpath from command line
20141228 16:13:08 <sensea> 1.0-SNAPSHOT
20141228 16:13:15 <gouessej> from where?
20141228 16:14:21 <sensea> what was downloaded by clicking on the 'here' link on the wordpress page
20141228 16:14:30 <gouessej> ok
20141228 16:15:15 <gouessej> sensea: Which version of Java do you use?
20141228 16:16:53 <sensea> Oracle Java build 1.7.0_71 on OS X Yo (10.10.1)
20141228 16:19:08 <gouessej> sensea: What do you get in the console?
20141228 16:22:59 <sensea> encountering compile errors in BoxExample.java about packages not existing during compile I need to work out
20141228 16:26:05 <gouessej> sensea: Which packages?
20141228 16:27:02 <gouessej> sensea: As you have downloaded the archive containing most of the binaries, there is nothing to compile
20141228 16:27:46 <gouessej> sensea: Ardor3D 7z archive + JogAmp 7z archive
20141228 16:29:05 <sensea> yes, just attempting to build copy of BoxExample in own directory before moving forward
20141228 16:30:16 <sensea> compiles ok on command line now
20141228 16:30:26 <gouessej> ok
20141228 16:31:16 <gouessej> sensea: What happens exactly when you try to run this example?
20141228 16:31:19 <sensea> these may be simple java things
20141228 16:32:17 <sensea> Error: Could not find or load main class BoxExample
20141228 16:33:24 <gouessej> sensea: You have to add the directory containing the .class file into the classpath
20141228 16:34:16 <gouessej> sensea: don't forget to use the full name (with packages) of the main class
20141228 16:38:49 <sensea> thx! command line shows same warning, but now see a 'Select Display Settings' dialog.
20141228 16:39:27 <sensea> the app runs
20141228 16:39:41 <gouessej> sensea: You're welcome. I'm currently updating the JARs in jogamp/deployment
20141228 16:45:10 <gouessej> sensea: I've just updated jogamp-ardor3d.7z
20141228 16:45:34 <gouessej> sensea: I advise you to download it anew so that we use exactly the same binaries
20141228 16:45:47 <sensea> ok, i'll grab it
20141228 16:46:34 <gouessej> sensea: I have to leave now but feel free to post here your problems and questions. I'll read the logs of this channel later. I have taken several weeks off to have a rest, I'll do my bets anyway.
20141228 16:46:50 <gouessej> sensea: "best"
20141228 16:47:51 <sensea> enjoy
20141228 16:49:07 <gouessej> sensea: Good luck with JogAmp's Ardor3D Continuation. An exception is thrown when exiting the program, don't worry, I know how to fix this bug, it's not something that can really annoy you.
20141228 16:49:13 <gouessej> sensea: "com.ardor3d.util.Ardor3dException: Failed to claim OpenGL context."
20141228 16:49:32 <gouessej> sensea: I'll fix it next month. Bye.
20141228 16:49:40 * gouessej (52794bbe@anon) Quit (Quit: Page closed)
20141228 17:54:45 <rmk0> sgothel: you about? would appreciate some advice
20141228 17:55:03 <rmk0> am trying to put together some unit tests that'll run on android
20141228 17:55:17 <rmk0> as such, i'm forced to subclass InstrumentationTestCase instead of NewtBaseActivity
20141228 17:55:41 <rmk0> i'm wondering what the bare minimum code i can get away with is if i just want to create a context for offscreen rendering
20141228 17:55:54 <rmk0> are there any massive problems i should know about?
20141228 18:41:10 * sensea (60ff387c@anon) Quit (Ping timeout: 246 seconds)
20141228 20:02:18 <sgothel> @Mark: You will see some ssh/adb commandline unit test trigger in the ant build file ..
20141228 20:02:36 <sgothel> however, I was not yet successful to create an activity instance 'on the fly'
20141228 20:02:49 <sgothel> the activity is required to use the Android UI ..
20141228 20:03:26 <sgothel> So .. I was too lazy to create 'unit test activities' .. which seems to be required if you want to use the UI
20141228 20:03:48 <rmk0> have you seen how people normally write unit tests to execute on devices?
20141228 20:03:50 <sgothel> if you find a way to launch NEWT tests .. a/ Activity .. great
20141228 20:04:00 <sgothel> they use Android's unit test classes ..
20141228 20:04:09 <rmk0> yeah, that InstrumentationTestCase thing
20141228 20:04:13 <sgothel> however, you want offscreen only ? then it should be possible
20141228 20:04:24 <sgothel> i.e. no Android window required ..
20141228 20:04:45 <rmk0> right
20141228 20:04:46 <sgothel> simply create a NEWT or otherwise (DrawableFactory) offscreen GLAD (GLAutoDrawable)
20141228 20:04:57 <rmk0> oh... so it is that easy...
20141228 20:05:09 <sgothel> the ant build file shows how to launch such a class .. hmm
20141228 20:06:05 <sgothel> build-test.xml line 915 ..
20141228 20:06:27 * rmk0 eyes it
20141228 20:06:28 <sgothel> using ssh and rsync .. yes, requires a rooted device AFAIK
20141228 20:06:43 <sgothel> otherwise .. using adb for file copy should work as well w/o rooting
20141228 20:07:41 <sgothel> around line 1051 is android, sorry, 915 is remote X11
20141228 20:07:51 <sgothel> junit.run.remote.adb
20141228 20:08:06 <rmk0> i see
20141228 20:08:18 <sgothel> have not tested it for .. err .. ~2years :)
20141228 20:08:34 <rmk0> i'm not sure this stuff is still necessary
20141228 20:08:40 <sgothel> this was my 1st prelim test on Android .. bring up
20141228 20:09:25 <sgothel> line 1091 - dalvikvm launch
20141228 20:10:12 <sgothel> this launches a dalvikvm 'main' program via com.android.internal.util.WithFramework
20141228 20:10:29 <sgothel> i.e. the org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner
20141228 20:11:29 <rmk0> oh, wait... you're using this to run unit tests that don't extend InstrumentationTestCase?
20141228 20:11:38 <sgothel> yes
20141228 20:11:50 <rmk0> yeah, then this stuff is still necessary
20141228 20:12:16 <sgothel> so only testing offscreen commandline stuff .. like .. err.. JoglVersion ..
20141228 20:12:20 <rmk0> i'm looking into avoiding the need for InstrumentationTestCase... i have thousands of tests that i'm not about to duplicate just because android makes intrusive demands \o/
20141228 20:12:31 <sgothel> same thing :)
20141228 20:12:49 <sgothel> here - so as long this goes w/o a window .. should work
20141228 20:13:06 <sgothel> still would like to know how to create activities on the fly .. for onscreen UI ..
20141228 20:13:19 <sgothel> but - nobody was able to tell me about it .. :-/
20141228 20:13:29 <rmk0> i'm not sure it's possible
20141228 20:14:05 <rmk0> the android model sort of demands that all activities be pre-declared and globally accessible
20141228 20:14:17 <sgothel> so I would need to create apk files at build time w/ activities etc .. and I am not willing to do those tedious tasks
20141228 20:14:26 <rmk0> yeah, it's not great
20141228 20:14:56 <sgothel> the ctor of Activity is hidden .. non-public, and I gave up at some point :-(
20141228 21:38:00 * void256 (~void@anon) has joined #jogamp
20141228 23:02:38 * void256 (~void@anon) Quit (Quit: ChatZilla 0.9.91.1 [Firefox 34.0.5/20141126041045])
20141229 00:08:09 * sensea (60ff387c@anon) has joined #jogamp
20141229 00:26:48 <sensea> gouessej: Just a note that for MacBook Pro (Retina, 15-inch, Mid 2014) in JogAmp Ardor3d Cont. BoxExample sample, when right-click on Box, PickingUtil.findPick() in ExampleBase::doPick() improperly returns an empty pickResults list on built-in laptop display (tried various resolutions), but does properly return a filled-in pick list containing Box when move the same window to an external monitor (24" LED Cinema Display).
20141229 00:42:26 <sensea> Quit
20141229 00:46:34 * sensea (60ff387c@anon) Quit (Ping timeout: 246 seconds)
20141229 05:05:03 -jogamp- Continue @ http://jogamp.org/log/irc/jogamp_20141229050503.html