1 |
#! /bin/sh /usr/share/dpatch/dpatch-run |
2 |
## 01_cglib.dpatch by <gregor+debian@comodo.priv.at> |
3 |
## |
4 |
## All lines beginning with `## DP:' are a description of the patch. |
5 |
## DP: change build system to work without lib/cglib-nodep-2.1_3.jar |
6 |
|
7 |
@DPATCH@ |
8 |
diff -urNad libspin-java~/build.xml libspin-java/build.xml |
9 |
--- libspin-java~/build.xml 2006-10-10 20:05:58.000000000 +0200 |
10 |
+++ libspin-java/build.xml 2006-10-10 20:06:23.000000000 +0200 |
11 |
@@ -12,28 +12,34 @@ |
12 |
|
13 |
<target name="build" description="Build the source" > |
14 |
<mkdir dir="./classes"/> |
15 |
- <javac debug="true" deprecation="true" destdir="./classes" srcdir="./src"> |
16 |
+ <javac debug="true" deprecation="true" destdir="./classes" srcdir="./src" excludes="spin/CGLibProxyFactory.java, spin/demo/**/*, spin/test/*"> |
17 |
+<!-- |
18 |
<classpath> |
19 |
<fileset dir="./lib"> |
20 |
<include name="*" /> |
21 |
</fileset> |
22 |
</classpath> |
23 |
+--> |
24 |
<classpath path="${junit.path}/junit.jar"/> |
25 |
</javac> |
26 |
</target> |
27 |
|
28 |
<target name="doc" description="Document the api" > |
29 |
<mkdir dir="./docs/api"/> |
30 |
+ <move file="src/spin/CGLibProxyFactory.java" todir="."/> |
31 |
<javadoc sourcepath="src" destdir="docs/api" verbose="true"> |
32 |
<package name="spin"/> |
33 |
<package name="spin.off"/> |
34 |
<package name="spin.over"/> |
35 |
+<!-- |
36 |
<classpath> |
37 |
<fileset dir="./lib"> |
38 |
<include name="*" /> |
39 |
</fileset> |
40 |
</classpath> |
41 |
+--> |
42 |
</javadoc> |
43 |
+ <move file="./CGLibProxyFactory.java" todir="src/spin/"/> |
44 |
</target> |
45 |
|
46 |
<target name="dist" description="Set up the distribution" depends="clean, build, doc" > |