Update JOGL libraries (to support Java 7 on Mac OS X)

Issue #14 resolved
Matthias Schoettle created an issue

Java 7 (from Oracle) on Mac OS X is currently not supported, because the jogl libraries used (version 1.1) only support the Java supplied by Apple (support ended with Java 6).

Try out the current jogl libraries and see if MT4j is compatible with it.

Comments (17)

  1. Matthias Schoettle reporter

    Resolved issue #176: Improved resource management. Added support to locate resources either within the file system (IDE) or a JAR (deployed).

    The resources need to be located in a source folder. Then, a package can be created for different kinds of resources. This allows to use the class loader to find those resources, even when running it from a JAR.

    To achieve that, a new ResourceUtil class in commons is used.

    Checkstyle is disabled for resources.

    Unfortunately, it is currently not possible to load native libraries from within a JAR. This needs a separate class loader or the appropriate libraries need to be extracted to the file system (JOGL 2 supports that, see issue #14).

    → <<cset d9619b4ea7d8>>

  2. Matthias Schoettle reporter

    References #14: Replaces MT4j to the updated version including Processing 2.x and JOGL 2.x.

    Removes native libraries and adds the JARs supporting automated native library loading.

    → <<cset 0da96d01c03d>>

  3. Matthias Schoettle reporter

    References #14: Updates drawing of RamTextComponent from GL10 to GL2.

    Removes the old P3D drawing, because it is not supported anymore.

    → <<cset 9ad7ba855bdc>>

  4. Matthias Schoettle reporter

    References #14: Fixes closing the window through the native window's close button (x).

    The instance's frame is a JFrame and by default closing on exit. Also, when the window adapter calls handleQuitRequest the "Exception in thread "AWT-EventQueue-0" javax.media.opengl.GLException: No OpenGL context current on this thread" exception is thrown (even though it is the same thread). Therefore, the call is invoked later to make sure it happens when convenient for Processing.

    → <<cset dfe7f5041840>>

  5. Matthias Schoettle reporter

    References #14: Updates ResourceUtil to only append the operating system and architecture in case of windows. This supports the Win7Touch library. All other configurations will use lib/ as the library path.

    → <<cset 13cae7622d23>>

  6. Matthias Schoettle reporter

    References #14: Adds gluegen and jogl main JARs to the classpath of the JAR's manifest in order to allow loading the native libraries through the automated method.

    → <<cset 96288ebc0686>>

  7. Log in to comment