Changeset 17414


Ignore:
Timestamp:
10/01/08 10:19:52 (13 years ago)
Author:
oranfry
Message:

for windows, going back to the commandline tool method for compressing and extracting lzma

Location:
release-kits/wirk2/ant-scripts
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • release-kits/wirk2/ant-scripts/create-components.xml

    r17392 r17414  
    7979   
    8080    <target name="compress-core-component">
    81         <sevenzip task="encode" input="components/core.comp" output="components/core-anttask.lzma" dictionnary="26"/>
     81        <!-- <sevenzip task="encode" input="${basedir}/components/core.comp" output="${basedir}/components/core.lzma" dictionnary="26"/> -->
     82        <exec executable="7z.exe" dir="components"><arg line="a -t7z -mx=9 core.lzma core.comp"/></exec>
    8283    </target>
    8384   
     
    9596       
    9697    <target name="compress-imagemagick-component">
    97         <sevenzip task="encode" input="components/imagemagick.comp" output="components/imagemagick.lzma" dictionnary="26"/>
     98        <!-- <sevenzip task="encode" input="${basedir}/components/imagemagick.comp" output="${basedir}/components/imagemagick.lzma" dictionnary="26"/> -->
     99        <exec executable="7z.exe" dir="components"><arg line="a -t7z -mx=9 imagemagick.lzma imagemagick.comp"/></exec>
    98100    </target>
    99101   
     
    111113       
    112114    <target name="compress-ghostscript-component">
    113         <sevenzip task="encode" input="components/ghostscript.comp" output="components/ghostscript.lzma" dictionnary="26"/>
     115        <!-- <sevenzip task="encode" input="${basedir}/components/ghostscript.comp" output="${basedir}/components/ghostscript.lzma" dictionnary="26"/> -->
     116        <exec executable="7z.exe" dir="components"><arg line="a -t7z -mx=9 ghostscript.lzma ghostscript.comp"/></exec>
    114117    </target>
    115118   
     
    129132       
    130133    <target name="compress-sourcecode-component">
    131         <sevenzip task="encode" input="components/sourcecode.comp" output="components/sourcecode.lzma" dictionnary="26"/>
     134        <!-- <sevenzip task="encode" input="${basedir}/components/sourcecode.comp" output="${basedir}/components/sourcecode.lzma" dictionnary="26"/> -->
     135        <exec executable="7z.exe" dir="components"><arg line="a -t7z -mx=9 sourcecode.lzma sourcecode.comp"/></exec>
    132136    </target>
    133137   
  • release-kits/wirk2/ant-scripts/create-installer.xml

    r17378 r17414  
    1919            <fileset file="${basedir}/distributions/web/LICENSE.txt"/>
    2020        </copy>
     21       
    2122        <unjar src="${wirk2.home}/ant-scripts/tasks/greenstone/anttasks.jar" dest="${basedir}/installer/classes"/>
    2223        <delete dir="${basedir}/installer/classes/META-INF"/>
     24       
     25        <unjar src="${wirk2.home}/ant-scripts/tasks/7z-ant/7z.jar" dest="${basedir}/installer/classes"/>
     26        <delete dir="${basedir}/installer/classes/META-INF"/>
     27       
    2328        <unjar src="${wirk2.home}/lib/crypt.jar" dest="${basedir}/installer/classes"/>
    2429        <delete dir="${basedir}/installer/classes/META-INF"/>
     30       
    2531    </target>
    2632
Note: See TracChangeset for help on using the changeset viewer.