Re: Permissions on ant build products in "dist" directory

From: Art Isbell (aisbel..ac.com)
Date: Tue May 13 2008 - 23:26:36 EDT

  • Next message: Mike Schrag: "Re: Permissions on ant build products in "dist" directory"

    On May 13, 2008, at 5:06 PM, Chuck Hill wrote:

    > Look in your build.xml file for the build.woapp target:
    >
    > <target name="build.woapp">
    >
    > Look at the end of this target for:
    >
    > </woapplication>
    > </target>
    >
    > Try changing this to;
    >
    > </woapplication>
    > <chmod file="destDir="${dest.dir}${file.separator}$
    > {project.name}.woa${file.separator}${project.name}" perm="755"/>
    > </target>

            I mucked with the above a bit and got it to work. Thanks, Chuck!

             <chmod file="${dest.dir}${file.separator}${project.name}.woa$
    {file.separator}${project.name}" perm="755"/>
             <chmod file="${dest.dir}${file.separator}${project.name}.woa$
    {file.separator}Contents${file.separator}MacOS${file.separator}$
    {project.name}" perm="755"/>

            There is actually a second executable with 750 permissions although
    few should care: <project_name>.woa/Contents/MacOS/<project_name>. I
    don't know how to tell the ant version of chmod about a second file,
    so I added a second chmod statement.

    > Perhaps this should be part of the standard WOLips build.xml file?

            Certainly I mustn't be the only one tripped up when attempting to
    deploy the ant build product with incorrect permissions, so I would
    vote to have this change made to build.xml.

    Aloha,
    Art



    This archive was generated by hypermail 2.0.0 : Tue May 13 2008 - 23:27:18 EDT