Re: Zip the dist

From: Cornelius Jaeger (cjaege..isualfood.ch)
Date: Thu Jul 12 2007 - 13:04:25 EDT

  • Next message: Chuck Hill: "Re: Zip the dist"

    Hi Chuck Hi Andrew

    Sweet, so you guys create a target? or hook it into the build
    somewhere? i'm a little lost on where to hook this in.

    i tried the following but i get a nullpointer exception on line 55
    where build.xml tries to fix the web xml content (which i don't think
    i use, no ssdd/war):

    webXML_CustomContent="${webXML_CustomContent}">

    here is the target i created, i run it from the External Tools GUI. I
    tried running it with depends=build and buildAndCompile. same error
    always.

            <target name="zipit" depends="setProps,init.build,build.woapp">
         <zip destfile="${dest.dir}/${project.name}_${DSTAMP}${TSTAMP}.zip"
                   update="true"
                   whenempty="fail"
                   duplicate="fail"
                   roundup="false">
                           <zipfileset dir="${dest.dir}" includes="${project.name}.woa/$
    {project.name}" filemode="740"/>
                        <zipfileset dir="${dest.dir}" includes="**" excludes="$
    {project.name}.woa/${project.name}"/>
                 </zip>
            </target>

    thx

    cornelius

    On 11.07.2007, at 23:19, Andrew Lindesay wrote:

    > Hello Cornelius; I do something like what Chuck said, but
    > specifically with ZIP...
    >
    > <zip destfile="${dest.dir}/${project.name}_${DSTAMP}$
    > {TSTAMP}.zip">
    > <zipfileset dir="${dest.dir}" includes="${project.name}.woa/$
    > {project.name}" filemode="740"/>
    > <zipfileset dir="${dest.dir}" includes="**" excludes="$
    > {project.name}.woa/${project.name}"/>
    > </zip>
    >
    >> <zip destfile="${dist}/${projectName}.zip"
    >> basedir="${dist}.woa"
    >> update="true"
    >> level="9"
    >> whenempty="fail"
    >> duplicate="fail"
    >> roundup="false"
    >> />
    >
    > ___
    > Andrew Lindesay
    > technology : www.lindesay.co.nz
    > business : www.silvereye.co.nz
    >
    >



    This archive was generated by hypermail 2.0.0 : Thu Jul 12 2007 - 13:06:13 EDT