File: 0003-ivy-compatibility.patch

package info (click to toggle)
ant-contrib 1.0~b3%2Bsvn177-10
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 2,036 kB
  • sloc: java: 12,697; xml: 2,675; makefile: 7
file content (24 lines) | stat: -rw-r--r-- 772 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Description: Fixes the compatibility with the version of Ivy in Debian
Author: Daniel Leidert (dale) <daniel.leidert@wgdd.de>
Forwarded: no
--- a/src/main/java/net/sf/antcontrib/net/URLImportTask.java
+++ b/src/main/java/net/sf/antcontrib/net/URLImportTask.java
@@ -158,7 +158,7 @@
 			adapter = new Ivy20Adapter();
 		}
 		catch (ClassNotFoundException e) {
-			adapter = new Ivy14Adapter();
+			// adapter = new Ivy14Adapter();
 		}
 		
 		String setId = org + "." + module + "." + rev + ".fileset";
--- a/build.xml
+++ b/build.xml
@@ -109,6 +109,7 @@
 		       classpathref="compile.classpath"
 		       source="${jdk.source}"
 		       target="${jdk.target}"
+		       excludes="**/Ivy14Adapter.java"
 		  />
 		
 		<copy todir="${target.classes.dir}">