mirror of https://github.com/apache/lucene.git
SOLR-1219: added proxy.setup target
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@785029 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
588d8fa51e
commit
e2ba252765
|
@ -514,6 +514,8 @@ Build
|
||||||
2. SOLR-854: Added run-example target (Mark Miller vie ehatcher)
|
2. SOLR-854: Added run-example target (Mark Miller vie ehatcher)
|
||||||
|
|
||||||
3. SOLR-1054:Fix dist-src target for DataImportHandler (Ryuuichi Kumai via shalin)
|
3. SOLR-1054:Fix dist-src target for DataImportHandler (Ryuuichi Kumai via shalin)
|
||||||
|
|
||||||
|
4. SOLR-1219: Added proxy.setup target (koji)
|
||||||
|
|
||||||
|
|
||||||
Documentation
|
Documentation
|
||||||
|
|
|
@ -875,7 +875,7 @@
|
||||||
<!-- ========================================================================= -->
|
<!-- ========================================================================= -->
|
||||||
|
|
||||||
<available file="luke/luke-0.9.1.jar" property="luke.jar.exists" />
|
<available file="luke/luke-0.9.1.jar" property="luke.jar.exists" />
|
||||||
<target name="luke-download" unless="luke.jar.exists">
|
<target name="luke-download" unless="luke.jar.exists" depends="proxy.setup">
|
||||||
<mkdir dir="luke"/>
|
<mkdir dir="luke"/>
|
||||||
<get src="http://www.getopt.org/luke/luke-0.9.1/luke-0.9.1.jar"
|
<get src="http://www.getopt.org/luke/luke-0.9.1/luke-0.9.1.jar"
|
||||||
dest="luke/luke-0.9.1.jar"/>
|
dest="luke/luke-0.9.1.jar"/>
|
||||||
|
|
|
@ -319,6 +319,19 @@
|
||||||
</sequential>
|
</sequential>
|
||||||
</macrodef>
|
</macrodef>
|
||||||
|
|
||||||
|
<!-- setup proxy for download tasks -->
|
||||||
|
<condition property="proxy.specified">
|
||||||
|
<or>
|
||||||
|
<isset property="proxy.host"/>
|
||||||
|
<isset property="proxy.port"/>
|
||||||
|
<isset property="proxy.user"/>
|
||||||
|
</or>
|
||||||
|
</condition>
|
||||||
|
|
||||||
|
<target name="proxy.setup" if="proxy.specified">
|
||||||
|
<setproxy proxyhost="${proxy.host}" proxyport="${proxy.port}" proxyuser="${proxy.user}" proxypassword="${proxy.password}"/>
|
||||||
|
</target>
|
||||||
|
|
||||||
|
|
||||||
<target name="clean-contrib"
|
<target name="clean-contrib"
|
||||||
description="Cleans all contrib modules and their tests">
|
description="Cleans all contrib modules and their tests">
|
||||||
|
|
|
@ -58,7 +58,7 @@
|
||||||
<mkdir dir="lib/downloads" />
|
<mkdir dir="lib/downloads" />
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="check-files">
|
<target name="check-files" depends="proxy.setup">
|
||||||
<available file="lib/downloads/colt-1.2.0.jar" property="colt.exists"/>
|
<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/pcj-1.2.jar" property="pcj.exists"/>
|
||||||
<available file="lib/downloads/nni-1.0.0.jar" property="nni.exists"/>
|
<available file="lib/downloads/nni-1.0.0.jar" property="nni.exists"/>
|
||||||
|
|
Loading…
Reference in New Issue