Package: libvamsas-client-java / 0.2+dfsg-1

build.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
Description: Patching build.xml for an ant build with Debian
Author: Pierre Gruet <pgt@debian.org>
Forwarded: not-needed
Last-Update: 2021-04-12

--- a/build.xml
+++ b/build.xml
@@ -24,7 +24,7 @@
 
 	<target name="init">
 		<!--<property name="target1.4" value="true"> -->
-		<property name="libDir" value="lib" />
+		<property name="libDir" value="/usr/share/java" />
 		<property name="toolsDir" value="tools" />
 		<property name="resourceDir" value="resources" />
 		<property name="sourceDir" value="src" />
@@ -55,14 +55,11 @@
 		Build classpath
 		-->
 		<path id="build.classpath">
-			<fileset dir="${toolsDir}">
-				<include name="*.jar" />
-				<include name="**/*.jar" />
-			</fileset>
-
 			<fileset dir="${libDir}">
-				<include name="*.jar" />
-				<include name="**/*.jar" />
+				<include name="castor-xml.jar" />
+				<include name="commons-logging.jar" />
+				<include name="log4j-1.2.jar" />
+				<include name="castor-core.jar" />
 			</fileset>
 			<!-- 		path refid="axis.classpath"  -->
 		</path>
@@ -95,7 +92,7 @@
 		</copy>
 	</target>
 	<target name="clean" depends="init">
-		<delete>
+		<delete failonerror="false">
 			<fileset dir="${outputDir}">
 				<include name="*" />
 				<include name="*.*" />