SOLR-769: Get the SimpleXML library for compile time

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@777075 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Grant Ingersoll 2009-05-21 11:31:00 +00:00
parent 9f3fe687ac
commit b30c3e6642
1 changed files with 9 additions and 1 deletions

View File

@ -62,7 +62,9 @@
<available file="lib/downloads/colt-1.2.0.jar" property="colt.exists"/>
<available file="lib/downloads/pcj-1.2.jar" property="pcj.exists"/>
<available file="lib/downloads/nni-1.0.0.jar" property="nni.exists"/>
<available file="lib/downloads/simple-xml-1.7.3.jar" property="simplexml.exists"/>
</target>
<!-- http://mirrors.ibiblio.org/pub/mirrors/maven2/org/simpleframework/simple-xml/1.7.3/simple-xml-1.7.3.jar -->
<target name="get-colt" depends="check-files" unless="colt.exists">
<!-- Get the LGPL deps and put them in a separate dir -->
<get src="http://repo1.maven.org/maven2/colt/colt/1.2.0/colt-1.2.0.jar" dest="lib/downloads/colt-1.2.0.jar"/>
@ -70,13 +72,19 @@
<target name="get-nni" depends="check-files" unless="nni.exists">
<!-- Get the LGPL deps and put them in a separate dir -->
<get src="http://download.carrot2.org/maven2/org/carrot2/nni/1.0.0/nni-1.0.0.jar" dest="lib/downloads/nni-1.0.0.jar"/>
</target>
<!-- Compile time dep. only -->
<target name="get-simple-xml" depends="check-files" unless="simplexml.exists">
<!-- Get the LGPL deps and put them in a separate dir -->
<get src="http://mirrors.ibiblio.org/pub/mirrors/maven2/org/simpleframework/simple-xml/1.7.3/simple-xml-1.7.3.jar" dest="lib/downloads/simple-xml-1.7.3.jar"/>
</target>
<target name="get-pcj" depends="check-files" unless="pcj.exists">
<!-- Get the LGPL deps and put them in a separate dir -->
<get src="http://repo1.maven.org/maven2/pcj/pcj/1.2/pcj-1.2.jar" dest="lib/downloads/pcj-1.2.jar"/>
</target>
<target name="get-libraries" depends="init, get-colt, get-pcj, get-nni"/>
<target name="get-libraries" depends="init, get-colt, get-pcj, get-nni, get-simple-xml"/>
<target name="compile" depends="init, get-libraries">
<solr-javac destdir="${dest}/classes"