Ignore:
Timestamp:
Oct 20, 2016 6:20:24 PM (4 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
022479a
Parents:
7d070e6c
Message:

Build: Add library jars to i2p.jar classpath for Debian builds

File:
1 edited

Legend:

Unmodified
Added
Removed
  • core/java/build.xml

    r7d070e6c radcee46  
    4747    </condition>
    4848    <property name="javac.classpath.mod" value="${javac.classpath.mod1}${javac.classpath.mod2}${javac.classpath.mod3}${javac.classpath}" />
     49
     50    <!-- jar classpath fixups -->
     51    <condition property="gettext.jar" value="/usr/share/java/libintl.jar" else="" >
     52        <istrue value="${with-gettext-base}" />
     53    </condition>
     54    <condition property="getopt.jar" value="/usr/share/java/gnu-getopt.jar" else="" >
     55        <istrue value="${with-libgetopt-java}" />
     56    </condition>
     57    <condition property="httpclient.jar" value="/usr/share/java/httpclient.jar /usr/share/java/httpcore.jar" else="" >
     58        <istrue value="${with-libhttpclient-java}" />
     59    </condition>
    4960
    5061    <target name="compile" depends="depend">
     
    8697            <fileset dir="src" includes="${translation.includes}" />
    8798            <manifest>
     99                <attribute name="Class-Path" value="${gettext.jar} ${getopt.jar} ${httpclient.jar}" />
    88100                <attribute name="Specification-Title" value="I2P Core API" />
    89101                <attribute name="Specification-Version" value="${release.number}" />
Note: See TracChangeset for help on using the changeset viewer.