Changeset e29bb5b


Ignore:
Timestamp:
Apr 15, 2013 12:12:35 PM (7 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
11dd7f6
Parents:
57b794f
Message:
  • i2psnark:
    • Mime type fixes
    • Remove web classes from jar
Location:
apps/i2psnark
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • apps/i2psnark/java/build.xml

    r57b794f re29bb5b  
    6262        <!-- set if unset -->
    6363        <property name="workspace.changes.tr" value="" />
    64         <jar destfile="./build/i2psnark.jar" basedir="./build/obj" includes="**/*.class" excludes="**/I2PSnarkServlet*.class **/FetchAndAdd*.class **/messages_*.class">
     64        <jar destfile="./build/i2psnark.jar" basedir="./build/obj" includes="**/*.class" excludes="**/web/* **/messages_*.class">
    6565            <manifest>
    6666                <attribute name="Main-Class" value="org.klomp.snark.Snark" />
     
    7777    <target name="jarUpToDate">
    7878        <uptodate property="jar.uptodate" targetfile="build/i2psnark.jar" >
    79             <srcfiles dir= "build/obj" includes="**/*.class" excludes="**/I2PSnarkServlet*.class **/FetchAndAdd*.class **/messages_*.class" />
     79            <srcfiles dir= "build/obj" includes="**/*.class" excludes="**/web/* **/messages_*.class" />
    8080        </uptodate>
    8181        <condition property="shouldListChanges" >
  • apps/i2psnark/java/src/org/klomp/snark/web/I2PSnarkServlet.java

    r57b794f re29bb5b  
    25022502        else if (mime.equals("application/zip") || mime.equals("application/x-gtar") ||
    25032503                 mime.equals("application/compress") || mime.equals("application/gzip") ||
    2504                  mime.equals("application/x-tar"))
     2504                 mime.equals("application/x-7z-compressed") || mime.equals("application/x-rar-compresed") ||
     2505                 mime.equals("application/x-tar") || mime.equals("application/x-bzip2"))
    25052506            icon = "compress";
    25062507        else if (plc.endsWith(".exe"))
  • apps/i2psnark/mime.properties

    r57b794f re29bb5b  
    1313oga     = audio/ogg
    1414rar     = application/x-rar-compressed
     15su2     = application/zip
     16sud     = application/zip
    1517war     = application/java-archive
    1618wma     = audio/x-ms-wma
Note: See TracChangeset for help on using the changeset viewer.