From 521dc174c93efbe616dc5f573a5d293339df642b Mon Sep 17 00:00:00 2001 From: Michael Simacek Date: Thu, 25 Feb 2016 15:03:17 +0100 Subject: [PATCH 2/3] Dependency generation --- lucene/build.xml | 6 ++++-- lucene/common-build.xml | 4 ++-- .../lucene/dependencies/GetMavenDependenciesTask.java | 2 ++ 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/build.xml b/build.xml index 3d7ee87..33e5f07 100644 --- a/build.xml +++ b/build.xml @@ -615,7 +615,6 @@ File | Project Structure | Platform Settings | SDKs): - diff --git a/lucene/build.xml b/lucene/build.xml index e3cf905..facc19b 100644 --- a/lucene/build.xml +++ b/lucene/build.xml @@ -427,12 +427,8 @@ - - + - - - diff --git a/lucene/common-build.xml b/lucene/common-build.xml index 41da3f2..d2f9d16 100644 --- a/lucene/common-build.xml +++ b/lucene/common-build.xml @@ -1876,7 +1876,7 @@ ${ant.project.name}.test.dependencies=${test.classpath.list} diff --git a/lucene/tools/src/java/org/apache/lucene/dependencies/GetMavenDependenciesTask.java b/lucene/tools/src/java/org/apache/lucene/dependencies/GetMavenDependenciesTask.java index 610323f..13bde29 100644 --- a/lucene/tools/src/java/org/apache/lucene/dependencies/GetMavenDependenciesTask.java +++ b/lucene/tools/src/java/org/apache/lucene/dependencies/GetMavenDependenciesTask.java @@ -537,6 +537,7 @@ public class GetMavenDependenciesTask extends Task { private Collection getTransitiveDependenciesFromIvyCache (String groupId, String artifactId, String version) { SortedSet transitiveDependencies = new TreeSet<>(); + /* // E.g. ~/.ivy2/cache/xerces/xercesImpl/ivy-2.9.1.xml File ivyXmlFile = new File(new File(new File(ivyCacheDir, groupId), artifactId), "ivy-" + version + ".xml"); if ( ! ivyXmlFile.exists()) { @@ -558,6 +559,7 @@ public class GetMavenDependenciesTask extends Task { + groupId + ':' + artifactId + ':' + version + " from " + ivyXmlFile.getAbsolutePath(), e); } + */ return transitiveDependencies; } -- 2.20.1