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

                 Key: MOJO-1688
                 URL: http://jira.codehaus.org/browse/MOJO-1688
             Project: Mojo
          Issue Type: Bug
          Components: osxappbundle
         Environment: Mac OS X
            Reporter: Gael Lalire
            Priority: Blocker


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" );


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to