added new template for managing the tomcat 8 settings
This commit is contained in:
parent
fb8afd3b20
commit
5b63d49f11
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue