Re: deck builder and card generator don't work on mac
Posted: 05 Sep 2009, 15:59
If anyone would like to package these apps for mac, Snacko is taking volunteers.
High Quality Resources for Collectible Card Games and Home of the CCGHQ Team
https://www.slightlymagic.net/forum/
https://www.slightlymagic.net/forum/viewtopic.php?f=29&t=305
I'm hip.Snacko wrote:This option is only available on Mac Os
File -> Export… -> Other -> Mac OS X application bundle -> Next
Select a launch configuration
paste in any needed arguments
give it an application name
pick a JVM version
there is a check box for using SWT
and last there is an option to assign an Icon.
I think you mean "native wrapper" rather than "JNI wrapper".Snacko wrote:However when you do it with eclipse yo get a fully contained package that has a JNI wrapper to launch the application which defines the "mac experience".
Cool, thanks!Snacko wrote:I cleaned up the packages as they're not needed anymore and uploaded the newest version.
just the deckbuilder / rulesviewer
http://www.mediafire.com/?imjzjdy3nmw
and the whole arcane workspace
http://www.mediafire.com/?2ztwnkwftmh
JavaApplicationStub is the native code that just launches the JVM.Snacko wrote:I remember reading somewhere they used JNI to load the classes, but all I ever used JNI is extending the java code, so I'm not sure about it.
I'm not sure what you mean. An app bundle by definition is fully contained. It is a directory that contains everything you need to run an app. On a Mac it will show up as just an icon, and the app runs when you double click it. Since it is self contained, you can move this icon (which is really the directory full of crap) and run it from any location.Can't you make a fully contained app bundle ? I suppose people want that and not only the jar within bundle which is kind of useless.