NIHVIVO-2757 Unpack the Solr WAR file directly into Tomcat. Not the optimum solution.

This commit is contained in:
j2blake 2011-07-14 15:14:41 +00:00
parent a5d42ac5ac
commit 5a03e842be
2 changed files with 2 additions and 2 deletions

View file

@ -1,5 +1,4 @@
<Context docBase="${solr.docbase}"
crossContext="true" override="true">
<Context crossContext="true" override="true">
<!-- For security, restrict access to clients on this machine
for IPv4 requests, localhost is 127.0.0.1

View file

@ -342,6 +342,7 @@ deploy - Deploy the application directly into the Tomcat webapps directory.
target: deploySolr
- - - - - - - - - - - - - - - - - -->
<target name="deploySolr" depends="prepareSolr" unless="noSolrDeploy">
<unwar src="${solr.docbase}" dest="${tomcat.home}/webapps/${solr.context.name}" />
<copy todir="${tomcat.home}/conf/Catalina/localhost" overwrite="true" >
<fileset file="${solr.context.config}" />
</copy>