Maven's ziptards don't have executable bits set

From: Mr. G Brown (gsbrow..mich.edu)
Date: Mon Jan 18 2010 - 10:00:58 EST

  • Next message: Henrique Prange (JIRA): "[OS-JIRA] Created: (WOL-1140) Maven "ziptards" do not preserve file permissions"

    Hi folks,

    Maven produces ziptards ( ziptard, noun, a compressed representation of a directory produced by tar-ing and gzipping the tar representaion of the directory) of one's application, which doesn't have the necessary executable bits set on the shell script that launches the application.

    If one unzips and un-tars the maven produced artifact, it won't launch. However, in the /target directory, the application.WOA, has the executable bit set on the script. If you look further into the ziptard's unzipped application in the directory /contents/MacOS/Launch-script, that script also does not have the executable bit set.

    Mr. Wotaskd is having a difficult day.

    Should not these bits be set? Ziptards seem like a good way to copy the app and resources around. Is there a reason they should not be set?

    Thanks,

                    <archetype>
                            <groupId>org.objectstyle.woproject.maven2
                            </groupId>
                            <artifactId>woapplication-archetype
                            </artifactId>
                            <version>2.1</version>
                            <description>WebObjects Application Archetype</description>
                    </archetype>
    Mr. G Brown
    gsbrow..mich.edu



    This archive was generated by hypermail 2.0.0 : Mon Jan 18 2010 - 10:02:06 EST