forked from ISTI-ansible-roles/ansible-roles
managed the tomcat7 case with more than one plugin
This commit is contained in:
parent
de1845044f
commit
9ac932ffd1
|
@ -2,6 +2,11 @@
|
|||
|
||||
<Context reloadable="true">
|
||||
<Loader className="org.apache.catalina.loader.VirtualWebappLoader"
|
||||
{% if item.plugin_name is defined %}
|
||||
virtualClasspath="{{ smartgears_instance_path }}/webapps/{{ item.app_name }}/WEB-INF/lib/plugins/{{ item.plugin_name }}/*.jar"/>
|
||||
{% else %}
|
||||
{% for plugin in item.app_plugins %}
|
||||
virtualClasspath="{{ smartgears_instance_path }}/webapps/{{ item.app_name }}/WEB-INF/lib/plugins/{{ plugin }}/*.jar"/>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
</Context>
|
||||
|
||||
|
|
Loading…
Reference in New Issue