1
Description: Debianisation of build.xml to use system libraries
2
Author: Marcus Better <marcus@better.se>
5
Index: hudson-dom4j/build.xml
6
===================================================================
7
--- hudson-dom4j.orig/build.xml 2011-05-31 10:00:42.550297000 +0100
8
+++ hudson-dom4j/build.xml 2011-06-08 10:21:21.763014994 +0100
12
<path id="test.classpath">
13
- <path refid="compile.classpath" />
14
- <fileset dir="./lib/test">
15
- <include name="**/*.jar" />
17
- <fileset dir="./lib/tools">
18
- <include name="xalan*.jar" />
19
- <include name="xerces*.jar" />
20
+ <fileset dir="/usr/share/java">
21
+ <include name="backport-util-concurrent.jar" />
22
+ <include name="jaxen.jar" />
23
+ <include name="junitperf.jar" />
24
+ <include name="xalan2.jar" />
25
+ <include name="xercesImpl.jar" />
26
+ <include name="xpp3.jar" />
32
deprecation="${deprecation}"
33
classpathref="compile.classpath">
34
- <exclude name="**/jaxb/*" />
35
- <exclude name="**/dom/*" />
36
+ <exclude name="org/dom4j/datatype/**"/>
37
+ <exclude name="org/dom4j/io/STAXEventReader.java"/>
38
+ <exclude name="org/dom4j/io/STAXEventWriter.java"/>
43
optimize="${optimize}"
44
deprecation="${deprecation}"
45
classpathref="test.classpath">
46
+ <exclude name="org/dom4j/datatype/**"/>
47
+ <exclude name="org/dom4j/io/StaxTest.java"/>
53
bottom="Copyright © ${year} MetaStuff Ltd. All Rights Reserved. Hosted by <p> <img src='http://sourceforge.net/sflogo.php?group_id=16035' width='88' height='31' border='0' alt='SourceForge Logo' />"
54
stylesheetfile="${doc.dir}/style/javadoc.css">
55
- <link href="http://java.sun.com/j2se/1.4.2/docs/api"/>
56
- <link href="http://java.sun.com/xml/jaxp-docs-1.1/docs/api"/>
57
+ <link href="file:///usr/share/doc/default-jdk/api"/>
60
<mkdir dir="${build.apidocs}"/>
63
bottom="Copyright © ${year} MetaStuff Ltd. All Rights Reserved. Hosted by <p> <img src='http://sourceforge.net/sflogo.php?group_id=16035' width='88' height='31' border='0' alt='SourceForge Logo' />"
64
stylesheetfile="${doc.dir}/style/javadoc.css">
65
- <link href="http://java.sun.com/j2se/1.4.2/docs/api"/>
66
- <link href="http://java.sun.com/xml/jaxp-docs-1.1/docs/api"/>
67
+ <link href="file:///usr/share/doc/default-jdk/api"/>
68
<link href="${build.javadocs}"/>
72
<!-- =================================================================== -->
73
<target name="test" depends="compile-test">
74
<mkdir dir="${build.dir}/test-results/xml"/>
75
- <junit printsummary="yes" haltonfailure="yes">
76
+ <junit printsummary="yes" haltonfailure="no">
77
<formatter type="xml"/>
81
<path refid="test.classpath" />
84
+ <sysproperty key="org.xml.sax.driver"
85
+ value="org.apache.xerces.parsers.SAXParser"/>
87
<batchtest fork="yes" todir="${build.dir}/test-results/xml">
88
<fileset dir="${test.dir}">
89
<include name="**/*Test.java" />
90
- <exclude name="**/AllTests.java,**/Abstract*.java,**/TestCase.java" />
91
+ <exclude name="**/AllTests.java" />
92
+ <exclude name="**/Abstract*.java" />
93
+ <exclude name="**/TestCase.java" />
94
+ <exclude name="**/StaxTest.java" />
95
+ <exclude name="**/datatype/*Test.java" />
99
Index: hudson-dom4j/xml/bean/gui.xml
100
===================================================================
101
--- hudson-dom4j.orig/xml/bean/gui.xml 2011-05-31 10:00:42.550297000 +0100
102
+++ hudson-dom4j/xml/bean/gui.xml 2011-06-08 10:20:38.983014964 +0100
104
<?xml version="1.0" encoding="UTF-8"?>
106
- <window class="javax.swing.JFrame" title="Frame #1"/>
107
- <window class="javax.swing.JFrame" title="Frame #2"/>
108
+ <window class="java.awt.Canvas" title="Frame #1"/>
109
+ <window class="java.awt.Canvas" title="Frame #2"/>