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}"
|
<Context crossContext="true" override="true">
|
||||||
crossContext="true" override="true">
|
|
||||||
|
|
||||||
<!-- For security, restrict access to clients on this machine
|
<!-- For security, restrict access to clients on this machine
|
||||||
for IPv4 requests, localhost is 127.0.0.1
|
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: deploySolr
|
||||||
- - - - - - - - - - - - - - - - - -->
|
- - - - - - - - - - - - - - - - - -->
|
||||||
<target name="deploySolr" depends="prepareSolr" unless="noSolrDeploy">
|
<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" >
|
<copy todir="${tomcat.home}/conf/Catalina/localhost" overwrite="true" >
|
||||||
<fileset file="${solr.context.config}" />
|
<fileset file="${solr.context.config}" />
|
||||||
</copy>
|
</copy>
|
||||||
|
|
Loading…
Add table
Reference in a new issue