Description: Disable ivy resolution for offline builds.
Author: James Page <james.page@ubuntu.com>
Forwarded: not-needed

Index: lucene-solr/lucene/common-build.xml
===================================================================
--- lucene-solr.orig/lucene/common-build.xml	2012-06-21 08:35:36.677845634 +0100
+++ lucene-solr/lucene/common-build.xml	2012-06-21 08:35:40.485857065 +0100
@@ -257,7 +257,7 @@
   <target name="resolve" depends="ivy-availability-check,ivy-fail">
     <!-- todo, make this a property or something. 
          only special cases need bundles -->
-    <ivy:retrieve type="jar,bundle" log="download-only"/>
+    <echo message="Ivy usage disabled in Debian build"/>
   </target>
   <target name="ivy-availability-check" unless="ivy.available">
    <echo>
Index: lucene-solr/solr/example/build.xml
===================================================================
--- lucene-solr.orig/solr/example/build.xml	2012-05-23 09:39:26.181829120 +0100
+++ lucene-solr/solr/example/build.xml	2012-06-21 08:37:09.654124924 +0100
@@ -34,16 +34,7 @@
   <target name="compile-test"/>
 
   <target name="resolve" depends="ivy-availability-check">
-    <sequential>
-    <!-- jetty libs in lib/ -->
-    <ivy:retrieve conf="jetty" type="jar" log="download-only"/>
-    <!-- jetty libs in lib/jsp-2.1 -->
-    <ivy:retrieve conf="jsp" type="jar" log="download-only" 
-                  pattern="${example}/lib/jsp-2.1/[artifact]-[revision].[ext]"/>
-    <!-- start.jar -->
-    <ivy:retrieve conf="start" type="jar" log="download-only" 
-                  pattern="${example}/start.jar"/>
-    </sequential>
+    <echo message="Ivy usage disabled in Debian build"/>
   </target>
 
 </project>
