Ignore:
Timestamp:
2009-07-21T09:15:43+12:00 (15 years ago)
Author:
oranfry
Message:

bug fixes to the sevenzip wrapper

Location:
other-projects/trunk/anttasks
Files:
1 added
2 edited

Legend:

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

    r20038 r20041  
    128128        <!-- test 1 -->
    129129        <copy file="src/test/sevenzip.lzma" tofile="test/sevenzip1.lzma"/>
    130         <dcff task="decode" input="test/sevenzip1.lzma" output="test/sevenzip1.comp"/>
     130        <sevenzip task="decode" input="test/sevenzip1.lzma" output="test/sevenzip1.comp"/>
    131131
    132132    </target>
  • other-projects/trunk/anttasks/src/org/greenstone/anttasks/WindowsSevenZipWrapper.java

    r20038 r20041  
    4242
    4343        //check both attributes set
    44         if ( task != null && task != "decode" ) {
     44        if ( task != null && !task.equals("decode") ) {
    4545            throw new BuildException( "Error - Only task supported is 'decode' !!" );
    4646        }
Note: See TracChangeset for help on using the changeset viewer.