Ignore:
Timestamp:
2008-11-28T15:12:02+13:00 (15 years ago)
Author:
oranfry
Message:

use system tar command over ant tar task

File:
1 edited

Legend:

Unmodified
Added
Removed
  • release-kits/shared/ant-scripts/init.xml

    r17977 r17981  
    374374    </target>
    375375
    376     <!-- creates the comp for the source release, works for all release kits -->
    377     <target name="prepare-source-release">
    378         <delete dir="components/tmp/source-release"/>
    379         <mkdir dir="components/tmp/source-release"/>
    380 
    381         <copy todir="components/tmp/source-release" overwrite="true">
    382             <fileset dir="distributions/source"/>
    383         </copy>
    384         <zip destfile="components/source-release.comp" basedir="components/tmp/source-release" compress="false"/>
    385     </target>
    386 
    387376    <!-- create the zipped up binary release from the web distribution -->
    388377    <target name="compress-zipped-binary-release">
     
    392381            <zip destfile="products/Greenstone-${version}-${os.suffix}-binary.zip" basedir="distributions/web" compress="true"/>
    393382            <else>
    394             <tar destfile="products/Greenstone-${version}-${os.suffix}-binary.tar.gz" basedir="distributions/web" compression="gzip"/>
     383                <exec dir="distributions" executable="tar">
     384                    <arg line="-czf ../products/Greenstone-${version}-${os.suffix}-binary.tar.gz web"/>
     385                </exec>
    395386            </else>
    396387        </if>
Note: See TracChangeset for help on using the changeset viewer.