Changeset 2fe1f97
- Timestamp:
- Apr 30, 2016 6:08:50 PM (5 years ago)
- Branches:
- master
- Children:
- 33629d0, 6bfd39d5
- Parents:
- 30ecded
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
build.properties
r30ecded r2fe1f97 132 132 # Don't compile GettextResource.java, we will use libintl.jar from the gettext-base package 133 133 #with-gettext-base=true 134 # Don't compile gnu /getopt classes, we will use libgetopt-java package134 # Don't compile gnu.getopt classes, we will use libgetopt-java package 135 135 #with-libgetopt-java=true 136 # Don't compile org.apache.http classes, we will use libhttpclient-java and libhttpcore-java packages 137 #with-libhttpclient-java=true -
build.xml
r30ecded r2fe1f97 2032 2032 <!-- libgetopt-java --> 2033 2033 <fileset dir="../i2p-${Extended.Version}/core/java/src/gnu/getopt" /> 2034 <!-- libhttpclient-java and libhttpcore-java --> 2035 <fileset dir="../i2p-${Extended.Version}/core/java/src/org/apache/http" /> 2034 2036 <!-- systray4j --> 2035 2037 <fileset dir="../i2p-${Extended.Version}/apps/systray/java/lib" /> … … 2102 2104 <fileset dir="../i2p-${Extended.Version}/core/java/src/gnu/gettext" /> 2103 2105 <fileset dir="../i2p-${Extended.Version}/core/java/src/gnu/getopt" /> 2106 <fileset dir="../i2p-${Extended.Version}/core/java/src/org/apache/http" /> 2104 2107 <fileset dir="../i2p-${Extended.Version}/apps/systray/java/lib" /> 2105 2108 <file name="../i2p-${Extended.Version}/apps/systray/java/src/net/i2p/apps/systray/SysTrayImpl.java" /> -
core/java/build.xml
r30ecded r2fe1f97 39 39 <istrue value="${with-libgetopt-java}" /> 40 40 </condition> 41 <property name="javac.classpath.mod" value="${javac.classpath.mod1}${javac.classpath.mod2}${javac.classpath}" /> 41 <!-- fixups if we're using httpclient.jar and httpcore.jar for org.apache.http classes --> 42 <condition property="source.exclude3" value="org/apache/http/**" else="NOTHING" > 43 <istrue value="${with-libhttpclient-java}" /> 44 </condition> 45 <condition property="javac.classpath.mod3" value="build/httpclient.jar:build/httpcore.jar:" else="" > 46 <istrue value="${with-libhttpclient-java}" /> 47 </condition> 48 <property name="javac.classpath.mod" value="${javac.classpath.mod1}${javac.classpath.mod2}${javac.classpath.mod3}${javac.classpath}" /> 42 49 43 50 <target name="compile" depends="depend"> … … 53 60 <exclude name="${source.exclude1}" /> 54 61 <exclude name="${source.exclude2}" /> 62 <exclude name="${source.exclude3}" /> 55 63 </javac> 56 64 </target> -
debian/control
r30ecded r2fe1f97 16 16 ,gettext 17 17 ,libgetopt-java 18 ,libhttpclient-java, libhttpcore-java 18 19 ,libgmp-dev (>= 2:5.0.5) 19 20 ,libservice-wrapper-java … … 79 80 gettext-base, 80 81 libgetopt-java, 82 libhttpclient-java, libhttpcore-java, 81 83 libjetty8-java, libservlet3.0-java, 82 84 glassfish-javaee -
debian/i2p-router.links
r30ecded r2fe1f97 90 90 # ubuntu and debian: everywhere 91 91 usr/share/java/gnu-getopt.jar usr/share/i2p/lib/gnu-getopt.jar 92 93 94 # comment out if not building with libhttpclient-java and libhttpcore-java 95 # ubuntu and debian: everywhere 96 usr/share/java/httpclient.jar usr/share/i2p/lib/httpclient.jar 97 usr/share/java/httpcore.jar usr/share/i2p/lib/httpcore.jar -
debian/rules
r30ecded r2fe1f97 150 150 ln -sf /usr/share/java/gnu-getopt.jar $(CURDIR)/core/java/build/gnu-getopt.jar 151 151 152 @# debian and ubuntu: everywhere 153 @/bin/echo -e "with-libhttpclient-java=true" >> $(CURDIR)/override.properties 154 @mkdir -p $(CURDIR)/core/java/build 155 ln -sf /usr/share/java/httpclient.jar $(CURDIR)/core/java/build/httpclient.jar 156 ln -sf /usr/share/java/httpcore.jar $(CURDIR)/core/java/build/httpcore.jar 157 152 158 TZ=UTC JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF8 ant preppkg-unix javadoc 153 159 echo router.updateDisabled=true > $(I2P)/router.config -
router/java/build.xml
r30ecded r2fe1f97 17 17 <classpath> 18 18 <pathelement location="../../core/java/build/obj" /> 19 <pathelement location="../../core/java/build/gnu-getopt.jar" /> 20 <pathelement location="../../core/java/build/httpclient.jar" /> 21 <pathelement location="../../core/java/build/httpcore.jar" /> 19 22 </classpath> 20 23 </depend> … … 39 42 debuglevel="lines,vars,source" 40 43 includeAntRuntime="false" 41 destdir="./build/obj" classpath="../../core/java/build/obj:../../core/java/build/i2p.jar:../../core/java/build/gnu-getopt.jar " >44 destdir="./build/obj" classpath="../../core/java/build/obj:../../core/java/build/i2p.jar:../../core/java/build/gnu-getopt.jar:../../core/java/build/httpclient.jar:../../core/java/build/httpcore.jar" > 42 45 <compilerarg line="${javac.compilerargs}" /> 43 46 </javac>
Note: See TracChangeset
for help on using the changeset viewer.