Debian Codegraph @

debian/patches/debianize-build.diff

raw symbols SCIP
1 Description: Use system dirs for Java libs
2 Author: Wookey <[email protected]>
3
4
5 Index: caveconverter-0~20170114/build.xml
6 ===================================================================
7 --- caveconverter-0~20170114.orig/build.xml
8 +++ caveconverter-0~20170114/build.xml
9 @@ -24,21 +24,28 @@
10 <property name="coveragereports.dir" value="${build.dir}/coveragereports"/>
11 <property name="cobertura.ser" value="${basedir}/cobertura.ser"/>
12
13 + <property name="lib.dir" value="/usr/share/java/"/>
14 +
15 <property name="source.version" value="1.6"/>
16 <property name="target.version" value="1.6"/>
17 <property name="build.debug" value="true"/>
18
19 - <property name="cobertura.dir" value="../../cobertura-2.1.1"/>
20 -
21 + <property name="cobertura.dir" value="${lib.dir}"/>
22 + <property name="junit.dir" value="${lib.dir}"/>
23 +
24 <!-- Cobertura -->
25 <path id="cobertura.classpath">
26 <fileset dir="${cobertura.dir}">
27 <include name="cobertura*.jar" />
28 - <include name="lib/**/*.jar" />
29 </fileset>
30 </path>
31 <taskdef classpathref="cobertura.classpath" resource="tasks.properties" />
32
33 +
34 + <fileset dir="${junit.dir}" id="junit.jars">
35 + <include name="junit4.jar" />
36 + </fileset>
37 +
38 <path id="javasrc.classpath">
39 <path refid="cobertura.classpath" />
40 </path>
41 @@ -47,6 +54,7 @@
42 <path refid="javasrc.classpath"/>
43 <pathelement path="${instrumented.classes.dir}"/>
44 <pathelement path="${build.classes.dir}"/>
45 + <fileset refid="junit.jars"/>
46 <path refid="cobertura.classpath" />
47 </path>
48