Changeset 20038

Show
Ignore:
Timestamp:
20.07.2009 15:25:33 (10 years ago)
Author:
oranfry
Message:

added a task to wrap the windows 7za.exe executable, to give it the same interface an unix sevenzip task

Location:
other-projects/trunk/anttasks
Files:
1 added
1 modified

Legend:

Unmodified
Added
Removed
  • other-projects/trunk/anttasks/build.xml

    r18963 r20038  
    4040        <typedef name="rsr" classname="org.greenstone.anttasks.RegexSearchReplace" classpathref="test.classpath"/> 
    4141        <typedef name="gpv" classname="org.greenstone.anttasks.GetPropertyValue" classpathref="test.classpath"/> 
     42        <typedef name="sevenzip" classname="org.greenstone.anttasks.WindowsSevenZipWrapper" classpathref="test.classpath"/> 
    4243        <mkdir dir="test"/> 
    4344    </target> 
     
    9394        <rsr file="test/rsr6-4.txt" pattern="e" replacement="*" lines="4-"/> 
    9495 
    95  
    96  
    97  
    9896    </target> 
    9997 
     
    126124    </target> 
    127125 
     126    <target name="test-win-sevenzip" depends="test-setup"> 
     127 
     128        <!-- test 1 --> 
     129        <copy file="src/test/sevenzip.lzma" tofile="test/sevenzip1.lzma"/> 
     130        <dcff task="decode" input="test/sevenzip1.lzma" output="test/sevenzip1.comp"/> 
     131 
     132    </target> 
     133 
    128134    <target name="test-clean"> 
    129135        <delete dir="test"/>