NIHVIVO-2757 Unpack the Solr WAR file directly into Tomcat. Not the optimum solution.
This commit is contained in:
parent
a5d42ac5ac
commit
5a03e842be
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue