mirror of https://github.com/apache/lucene.git
SOLR-6703: Fix ant run-example
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1638486 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
250b33606f
commit
cc1b4bea5e
|
@ -58,7 +58,6 @@
|
||||||
|
|
||||||
<target name="run-example" depends="example"
|
<target name="run-example" depends="example"
|
||||||
description="Run Solr interactively, via Jetty. -Dexample.debug=true to enable JVM debugger">
|
description="Run Solr interactively, via Jetty. -Dexample.debug=true to enable JVM debugger">
|
||||||
<property name="example.solr.home" location="example/solr"/>
|
|
||||||
<property name="example.debug.suspend" value="n"/>
|
<property name="example.debug.suspend" value="n"/>
|
||||||
<property name="example.jetty.port" value="8983"/>
|
<property name="example.jetty.port" value="8983"/>
|
||||||
<condition property="example.jvm.line" value="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=${example.debug.suspend},address=5005">
|
<condition property="example.jvm.line" value="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=${example.debug.suspend},address=5005">
|
||||||
|
@ -66,11 +65,9 @@
|
||||||
</condition>
|
</condition>
|
||||||
<property name="example.jvm.line" value=""/>
|
<property name="example.jvm.line" value=""/>
|
||||||
<property name="example.heap.size" value="512M"/>
|
<property name="example.heap.size" value="512M"/>
|
||||||
<java jar="${server.dir}/start.jar" fork="true" dir="${server.dir}" maxmemory="${example.heap.size}">
|
<exec executable="${common-solr.dir}/bin/solr" failonerror="true">
|
||||||
<jvmarg line="${example.jvm.line}"/>
|
<arg line="-e techproducts -p ${example.jetty.port} -m ${example.heap.size} -d ${server.dir} -a '${example.jvm.line}'"/>
|
||||||
<sysproperty key="solr.solr.home" file="${example.solr.home}"/>
|
</exec>
|
||||||
<sysproperty key="jetty.port" value="${example.jetty.port}"/>
|
|
||||||
</java>
|
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<!-- setup proxy for download tasks -->
|
<!-- setup proxy for download tasks -->
|
||||||
|
|
Loading…
Reference in New Issue