greenstone.org greenstone wiki greenstone trac planet greenstone

Changeset 17392

Show
Ignore:
Timestamp:
2008-09-26 11:22:22 (3 months ago)
Author:
oranfry
Message:

use the 7zip ant task to compress components

Files:

Legend:

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

    r17377 r17392  
    7979         
    8080        <target name="compress-core-component"> 
    81                 <exec executable="7z.exe" dir="components"><arg line="a -t7z -mx=9 core.lzma core.comp"/></exec
     81                <sevenzip task="encode" input="components/core.comp" output="components/core-anttask.lzma" dictionnary="26"/
    8282        </target> 
    8383         
     
    9595                 
    9696        <target name="compress-imagemagick-component"> 
    97                 <exec executable="7z.exe" dir="components"><arg line="a -t7z -mx=9 imagemagick.lzma imagemagick.comp"/></exec
     97                <sevenzip task="encode" input="components/imagemagick.comp" output="components/imagemagick.lzma" dictionnary="26"/
    9898        </target> 
    9999         
     
    111111                 
    112112        <target name="compress-ghostscript-component"> 
    113                 <exec executable="7z.exe" dir="components"><arg line="a -t7z -mx=9 ghostscript.lzma ghostscript.comp"/></exec
     113                <sevenzip task="encode" input="components/ghostscript.comp" output="components/ghostscript.lzma" dictionnary="26"/
    114114        </target> 
    115115         
     
    129129                 
    130130        <target name="compress-sourcecode-component"> 
    131                 <exec executable="7z.exe" dir="components"><arg line="a -t7z -mx=9 sourcecode.lzma sourcecode.comp"/></exec
     131                <sevenzip task="encode" input="components/sourcecode.comp" output="components/sourcecode.lzma" dictionnary="26"/
    132132        </target> 
    133133