Eliosoft / elios

Entertainment LIghting Open source Software a.k.a ELIOS is a Java application that provides remote management capabilities to your lighting system based on Art-Net. This project is released under GPL v3.
http://www.eliosoft.net
GNU General Public License v3.0
6 stars 3 forks source link

Create a MacOS app #62

Closed acollign closed 11 years ago

acollign commented 11 years ago

We currently provide an installer that only creates a folder containing jars and docu. Would be great to have a real MacOS App. AFAICT that would also address #61.

acollign commented 11 years ago

here [0] is the official documentation.

[0] https://developer.apple.com/library/mac/#documentation/Java/Conceptual/Java14Development/03-JavaDeployment/JavaDeployment.html#//apple_ref/doc/uid/TP40001885-208447-TPXREF120

acollign commented 11 years ago

A much better way of building the app (with maven) [1]. Maven usage is tracked under #51

[1] http://mojo.codehaus.org/osxappbundle-maven-plugin/

acollign commented 11 years ago

Another interesting docu [2].

[2] http://simplericity.com/2007/10/02/1191336060000.html

jgastonraoul commented 11 years ago

@acollign if you can have a look at this, it would be a great idea !

acollign commented 11 years ago

I'm already working on this one. Right now I can create an app (dmg and zipped dmg). I still have an issue with the icons of the app but that would be fixed soon.

acollign commented 11 years ago

Just noticed that the icon is really blurry when pressing Cmd-Tab. I'll create the icns file in higher res.

acollign commented 11 years ago

This process crashes as expected on non-mac OS. I think the easiest way to handle that is to create a specific profile (e.g. distribution-macos).

[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Can't find JavaApplicationStub binary. File does not exist: /System/Library/Frameworks/JavaVM.framework/Versions/Current/Resources/MacOS/JavaApplicationStub
NOTICE: You are running the osxappbundle plugin on a non OS X platform. To make this work you need to copy the JavaApplicationStub binary into your source tree. Then configure it with the 'javaApplicationStub' configuration property.
On an OS X machine, the JavaApplicationStub is typically located under /System/Library/Frameworks/JavaVM.framework/Versions/Current/Resources/MacOS/JavaApplicationStub
acollign commented 11 years ago

@jeremiegastonraoul may I ask you to test the dmg on your mac ? I think GateKeeper would warn about unsigned app.