New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Development and Darwin Discussion and questions about development for Mac OS X.

mac deployment


Thread Closed

 
Thread Tools
Romustep

 
Member Since: May 15, 2009
Posts: 2
Romustep is on a distinguished road

Romustep is offline
hi everyone,

I hope I can get some info here, otherwise, please redirect to another more specific forum.

I'm deploying an application for Mac, it is not a common application in term of structure. It is basically an Adobe AIR application but started by a java class.

Here is the structure of the app:

/MyApp/Info.plist
/MyApp/MacOS/
/MyApp/MacOS/JavaApplicationStub (this starts the runnable jar)
/MyApp/MacOS/SomaUI (this is started by the runnable jar and starts the AIR app)
/MyApp/PkgInfo
/MyApp/Resources/
/MyApp/Resources/Java/
/MyApp/Resources/Java/MyApp.jar
/MyApp/Resources/icons.icns
/MyApp/Resources/rest of my air application...

when I type in the terminal:
java -jar MyApp.jar

java starts, start the air app (which is basically the content of a AIR app install: MyAirApp.app)

Everything works so far.

But when I try to start the real app (made with jar Bundler) by double clicking on it, I got:

LSOpenFromURLSpec() failed with error -10810 for the file /Users/romuald/Desktop/MyApp/MyApp.app.

I guess my runnable jar is not found?

Here is my Info.plist:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd">
<plist version="0.9">
<dict>
<key>CFBundleName</key>
<string>MyApp</string>
<key>CFBundleVersion</key>
<string>10.2</string>
<key>CFBundleAllowMixedLocalizations</key>
<string>true</string>
<key>CFBundleExecutable</key>
<string>JavaApplicationStub</string>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleIconFile</key>
<string>icon.icns</string>
<key>Java</key>
<dict>
<key>MainClass</key>
<string>Main</string>
<key>JVMVersion</key>
<string>1.5*</string>
<key>ClassPath</key>
<string>$JAVAROOT/MyApp.jar</string>
</dict>
</dict>
</plist>

Can anyone tells me what I'm missing?

Thanks in advance.

Romu
Romustep

 
Member Since: May 15, 2009
Posts: 2
Romustep is on a distinguished road

Romustep is offline
solution there:
mac deployment - MacNN Forums

Thread Closed


« Installing MySql extension for PHP | Mac Ports - Errors »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
At my wits end with my Mac... christianhough Switcher Hangout 31 01-28-2009 09:32 PM
Has The Mac Been Hacked...... MaDDoG Apple Rumors and Reports 5 05-01-2007 07:06 PM
To Mac Pro or not to Mac Pro? london Switcher Hangout 32 08-21-2006 11:57 PM
Switcher Article in Today's Times studio34 Switcher Hangout 9 08-11-2006 03:10 PM
It's called a Mac iSheep Schweb's Lounge 22 10-13-2004 05:35 PM

All times are GMT -4. The time now is 05:40 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?