Deployment

Michael Hall mik3hall at gmail.com
Sun Mar 29 12:23:49 UTC 2015


On Mar 29, 2015, at 5:49 AM, Robert Krüger <krueger at lesspain.de> wrote:

> Regarding your observation, I would not exclude the possibility of OSX caching application resources if the bundle version in the Info.plist has not changed. That may explain things. It definitely happened to me in the past with Info.plist metadata changes not becoming effective until I moved the app bundle around.

I remember that one. Mainly involving changes to the Info.plist. I think I had a bug report on that one at one time. I seem to remember it was eventually closed as “expected behavior”. Who expected this behavior? Certainly not me. That one I think concerned some application database that didn’t get updated. What I was seeing yesterday was the time stamp between Finder and terminal commands seemed out of sync for a jar file. 


> For OSX packaging I have successfully played around with the gradle plugin at https://code.google.com/p/gradle-macappbundle/. It simply worked and did the things I wanted it to do. However I was curious about an officially supported java packaging mechanism that also works on windows but need to integrate it in my gradle build, so I came across https://bitbucket.org/shemnon/javafx-gradle by Danno Ferrin (Oracle), which accoding to him is still being maintained and should work with current JDK versions and at least one person uses it to produce Windows and Linux distributions of his application. I haven't tried it yet as there are no docs and I am not sure I understand the samples correctly. Each of them contains a bootstrap script, which I don't really understand, i.e. do I have to copy & paste this script into every project from which I use the plugin? Feels odd but I probably misunderstand something here. I am also not sure if this is JavaFX-only. My understanding was that Javapackager used to be JavaFX-specific but then turned general-purpose, so maybe the gradle plugin name is misleading and the whole thing also works for non-JFX applications but I am really just speculating here.


I think you’re right on the javaFX origins of the javapackager command. But since David DeHaven indicates the old AppBundler support has been rolled into it. It seems a logical Oracle supported successor. David has been good about providing continuing support on this and even the old Apple java-dev list.


Michael Hall

trz nio.2 for OS X http://www195.pair.com/mik3hall/index.html#trz

HalfPipe Java 6/7 shell app http://www195.pair.com/mik3hall/index.html#halfpipe

AppConverter convert Apple jvm to openjdk apps http://www195.pair.com/mik3hall/index.html#appconverter







More information about the macosx-port-dev mailing list