Deploy TouchRAM as packaged application for Mac OS and Windows

Issue #183 resolved
Matthias Schoettle created an issue

TouchRAM should be deployed as a packaged application, mostly for Mac OS and Windows.

For Mac OS, this would allow to include the Java 1.6 JRE so even if a user has Java 7 installed, it does not interfere. Furthermore, this will make it easier to provide the app icons. There exists an ANT task (called appbundler) that allows to do this.

For Windows, it would just be convenient, although the provided .bat file is sufficient, but not as nice of course.

Comments (7)

  1. Matthias Schoettle reporter

    There are two problems:

    • When packaging the app I get the following error:
    BUILD FAILED
    .../git/touchram/ca.mcgill.sel.ram.gui/build.xml:211: java.lang.UnsupportedClassVersionError: net/sourceforge/jarbundler/JarBundler : Unsupported major.minor version 52.0
    

    I tried JarBundler 2.2.0 and that one worked, not sure if 2.3.0 or so would work.

    • The default models directory is TouchCORE.app/Contents/Resources/Java/, we should either use the actual models directory located outside of the app, or put the model libraries into that folder.
  2. Matthias Schoettle reporter
    • changed status to open

    Also, the Settings.txt should be inside the bundle (and the README should mention this fact) :)

  3. Matthias Schoettle reporter

    The last commit resolved this issue again.

    However, we need a proper way of dealing with models at different locations. We don't want the user to save own models inside the app.

    Several things could be done:

    • We could only show the models folder when reusing a concern
    • The file browser could have shortcuts for user models and reusable concern library (instead of just models)
    • Maybe the user should be able to somewhere specify where the user models directory is located at
  4. Log in to comment