Changeset 20041

Show
Ignore:
Timestamp:
21.07.2009 09:15:43 (10 years ago)
Author:
oranfry
Message:

bug fixes to the sevenzip wrapper

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

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        }