Results 1 to 2 of 2

Thread: mac deployment

  1. #1


    Member Since
    May 15, 2009
    Posts
    2
    mac deployment
    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

  2. #2


    Member Since
    May 15, 2009
    Posts
    2

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. "Image Deployment" in Mac
    By SheHadMANHands in forum Switcher Hangout
    Replies: 6
    Last Post: 12-20-2013, 01:03 PM
  2. New MAC deployment
    By UnionIT in forum OS X - Operating System
    Replies: 0
    Last Post: 07-30-2013, 06:00 PM
  3. Small business iPhone deployment questions?
    By ThePope43 in forum iPhone Hardware and Accessories
    Replies: 7
    Last Post: 03-04-2011, 08:01 PM
  4. Setting Deployment Target
    By vishvesh in forum OS X - Development and Darwin
    Replies: 0
    Last Post: 03-25-2010, 03:46 AM
  5. Print Driver Mass Deployment
    By mogwai909 in forum Apple Desktops
    Replies: 0
    Last Post: 11-23-2009, 02:45 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •