View Full Version : mac deployment

05-15-2009, 09:36 AM
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/MacOS/JavaApplicationStub (this starts the runnable jar)
/MyApp/MacOS/SomaUI (this is started by the runnable jar and starts the AIR app)
/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">

Can anyone tells me what I'm missing?

Thanks in advance.


05-15-2009, 09:41 AM
Googling for: LSOpenFromURLSpec() failed with error -10810
found this: