Allow _ant run_ jetty.port to be configurable. -Djetty.port=8888, for example

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@824331 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Erik Hatcher 2009-10-12 13:39:22 +00:00
parent 11e29af8f7
commit 2d8e0ea9c2
1 changed files with 2 additions and 0 deletions

View File

@ -618,6 +618,7 @@
<property name="example.solr.home" location="example/solr"/>
<property name="example.data.dir" location="example/solr/data"/>
<property name="example.debug.suspend" value="n"/>
<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">
<isset property="example.debug"/>
</condition>
@ -627,6 +628,7 @@
<jvmarg line="${example.jvm.line}"/>
<sysproperty key="solr.solr.home" file="${example.solr.home}"/>
<sysproperty key="solr.data.dir" file="${example.data.dir}"/>
<sysproperty key="jetty.port" value="${example.jetty.port}"/>
</java>
</target>