You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-java/webgraph/files/webgraph-1.4.1-gentoo.patch

37 lines
1.4 KiB

--- build.xml.orig 2005-04-15 14:36:14.000000000 +0200
+++ build.xml 2005-04-15 14:38:45.000000000 +0200
@@ -19,6 +19,14 @@
<property name="jar.base" value="/usr/share/java"/>
<property name="javadoc.base" value="/usr/share/javadoc"/>
+ <path id="compile.classpath">
+ <pathelement location="lib/jal.jar" />
+ <pathelement location="lib/colt.jar" />
+ <pathelement location="lib/fastutil.jar" />
+ <pathelement location="lib/gnu.getopt.jar" />
+ <pathelement location="lib/mg4j.jar" />
+ </path>
+
<!--
Groovy and Cobertura need different versions of asm.
Due to the delegation-based class-loading model used
@@ -119,7 +127,9 @@
<target name="all" depends="jar,javadoc"/>
<target name="compile" depends="init" description="Compile standard sources (not test files)">
- <javac srcdir="${src}" includes="**${subdir}" excludes="test/**" debug="on" optimize="on" destdir="${build}" source="1.4"/>
+ <javac srcdir="${src}" includes="**${subdir}" excludes="test/**" debug="on" optimize="on" destdir="${build}" source="1.4" target="1.4">
+ <classpath refid="compile.classpath" />
+ </javac>
</target>
<target name="jar" depends="compile" description="Creates jar (without tests)">
@@ -144,6 +154,7 @@
<link href="${colt.apiurl}"/>
<link href="${jal.apiurl}"/>
<link href="${mg4j.apiurl}"/>
+ <classpath refid="compile.classpath" />
</javadoc>
</target>