Mojo
  1. Mojo
  2. MOJO-1688

On Mac OS X whith SetFile utility, the generated .app has an alias attribute and do not execute

    Details

    • Type: Bug Bug
    • Status: Open Open
    • Priority: Blocker Blocker
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: osxappbundle
    • Labels:
      None
    • Environment:
      Mac OS X
    • Complexity:
      Intermediate
    • Patch Submitted:
      Yes
    • Number of attachments :
      0

      Description

      Version 1.0-alpha2
      In CreateApplicationBundleMojo.java line 319 you have this line
      setFile.createArgument().setValue( "-a B" );
      Which cause an error (masked) :
      Invalid File Attribute Specified.Invalid File Attribute Specified.Invalid File Attribute Specified.Invalid File Attribute Specified.Invalid File Attribute Specified.Invalid File Attribute Specified.Invalid File Attribute Specified.Invalid File Attribute Specified.Invalid File Attribute Specified.Invalid File Attribute Specified.Invalid File Attribute Specified.Invalid File Attribute Specified.Invalid File Attribute Specified.Invalid File Attribute Specified.Invalid File Attribute Specified.Invalid File Attribute Specified.Invalid File Attribute Specified.Invalid File Attribute Specified.Invalid File Attribute Specified.Invalid File Attribute Specified.Invalid File Attribute Specified.ERROR: File Not Found. (-43) on file: -a B

      And fix bad attributes on the bundle (for example alias attribute)

      Fix please replace the line by the 2 following :
      setFile.createArgument().setValue( "-a" );
      setFile.createArgument().setValue( "B" );

        Activity

          People

          • Assignee:
            Fred Cooke
            Reporter:
            Gael Lalire
          • Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated: