From 9ac932ffd16c4e11c3f7fe37b8f7fc4566678ea8 Mon Sep 17 00:00:00 2001 From: Roberto Cirillo Date: Fri, 3 May 2019 16:55:08 +0200 Subject: [PATCH] managed the tomcat7 case with more than one plugin --- .../catalina-app-conf/templates/catalina-app-conf.xml.j2 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/smartgears/catalina-app-conf/templates/catalina-app-conf.xml.j2 b/smartgears/catalina-app-conf/templates/catalina-app-conf.xml.j2 index 3a858ef5..26952a64 100644 --- a/smartgears/catalina-app-conf/templates/catalina-app-conf.xml.j2 +++ b/smartgears/catalina-app-conf/templates/catalina-app-conf.xml.j2 @@ -2,6 +2,11 @@ +{% else %} +{% for plugin in item.app_plugins %} + virtualClasspath="{{ smartgears_instance_path }}/webapps/{{ item.app_name }}/WEB-INF/lib/plugins/{{ plugin }}/*.jar"/> +{% endfor %} +{% endif %} -