added new template for managing the tomcat 8 settings

This commit is contained in:
Roberto Cirillo 2019-05-03 16:50:26 +02:00
parent fb8afd3b20
commit 5b63d49f11
1 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<Context>
<Resources className="org.apache.catalina.webresources.StandardRoot">
{% if item.plugin_name is defined %}
<PreResources className="org.apache.catalina.webresources.DirResourceSet"
base="{{ smartgears_instance_path }}/webapps/{{ item.app_name }}/WEB-INF/lib/plugins/{{ item.plugin_name }}/"
internalPath="/"
webAppMount="/WEB-INF/lib" />
{% else %}
{% for plugin in item.app_plugins %}
<PreResources className="org.apache.catalina.webresources.DirResourceSet"
base="{{ smartgears_instance_path }}/webapps/{{ item.app_name }}/WEB-INF/lib/plugins/{{ plugin }}/"
internalPath="/"
webAppMount="/WEB-INF/lib" />
{% endfor %}
{% endif %}
</Resources>
</Context>