forked from I2P_Developers/i2p.i2p
Debian: Add libjson-simple-java dependency
This commit is contained in:
@@ -46,7 +46,14 @@
|
||||
<condition property="javac.classpath.mod3" value="build/httpclient.jar:build/httpcore.jar:" else="" >
|
||||
<istrue value="${with-libhttpclient-java}" />
|
||||
</condition>
|
||||
<property name="javac.classpath.mod" value="${javac.classpath.mod1}${javac.classpath.mod2}${javac.classpath.mod3}${javac.classpath}" />
|
||||
<!-- fixups if we're using json-simple.jar for org.json.simple classes -->
|
||||
<condition property="source.exclude4" value="org/json/simple/**" else="NOTHING" >
|
||||
<istrue value="${with-libjson-simple-java}" />
|
||||
</condition>
|
||||
<condition property="javac.classpath.mod4" value="build/json-simple.jar:" else="" >
|
||||
<istrue value="${with-libjson-simple-java}" />
|
||||
</condition>
|
||||
<property name="javac.classpath.mod" value="${javac.classpath.mod1}${javac.classpath.mod2}${javac.classpath.mod3}${javac.classpath.mod4}${javac.classpath}" />
|
||||
|
||||
<!-- jar classpath fixups -->
|
||||
<condition property="gettext.jar" value="/usr/share/java/libintl.jar" else="" >
|
||||
@@ -58,6 +65,9 @@
|
||||
<condition property="httpclient.jar" value="/usr/share/java/httpclient.jar /usr/share/java/httpcore.jar" else="" >
|
||||
<istrue value="${with-libhttpclient-java}" />
|
||||
</condition>
|
||||
<condition property="json-simple.jar" value="/usr/share/java/json-simple.jar" else="" >
|
||||
<istrue value="${with-libjson-simple-java}" />
|
||||
</condition>
|
||||
|
||||
<target name="compile" depends="depend">
|
||||
<mkdir dir="./build" />
|
||||
@@ -72,6 +82,7 @@
|
||||
<exclude name="${source.exclude1}" />
|
||||
<exclude name="${source.exclude2}" />
|
||||
<exclude name="${source.exclude3}" />
|
||||
<exclude name="${source.exclude4}" />
|
||||
</javac>
|
||||
</target>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user