Re: Zip the dist

From: Chuck Hill (chil..lobal-village.net)
Date: Wed Jul 11 2007 - 15:08:16 EDT

  • Next message: Jonathan Miller: "re: Weird Compile Error"

    Roughly cribbed from one of my files:

           <tar longfile="gnu"
                     destfile="${dist}/${projectName}.tgz"
                     compression="gzip">
                     <tarfileset dir="${dist}" username="root" group="root">
                             <include name="${projectName}.woa/**"/>
                             <exclude name="${projectName}.woa/$
    {projectName}"/>
                     </tarfileset>
                     <tarfileset dir="${dist}" mode="755" username="root"
    group="root">
                             <include name="${projectName}.woa/$
    {projectName}"/>
                     </tarfileset>
             </tar>

    On Jul 11, 2007, at 11:26 AM, Cornelius Jaeger wrote:

    > Hi All
    >
    > I've been slowly switching to Eclipse and WOLips and, well, it's
    > really great.
    > I'm, of course, a complete ant ignoramous and was wondering if
    > someone could tell me how to get eclipse to zip or tgz my dist
    > directory.
    > I read the docs for ant and the zip task, but i'm not sure where to
    > tie it into the build.xml.
    >
    > <zip destfile="${dist}/${projectName}.zip"
    > basedir="${dist}.woa"
    > update="true"
    > level="9"
    > whenempty="fail"
    > duplicate="fail"
    > roundup="false"
    > />
    >
    > can anyone point me in the right direction?
    >
    > cheers
    >
    > Cornelius

    -- 
    

    Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/products/practical_webobjects



    This archive was generated by hypermail 2.0.0 : Wed Jul 11 2007 - 15:09:31 EDT