using parameterized hotswap plugins
This commit is contained in:
@@ -26,6 +26,7 @@ RUN cd /var/lib/tomcat/dev && \
|
|||||||
mkdir web web-extra1 web-extra2 web-extra3 web-extra4 web-extra5 web-extra6 web-extra7
|
mkdir web web-extra1 web-extra2 web-extra3 web-extra4 web-extra5 web-extra6 web-extra7
|
||||||
|
|
||||||
# Add our Docker container initialization script
|
# Add our Docker container initialization script
|
||||||
|
ADD setenv-bootstrap.sh /usr/local/bin/${project.artifactId}-setenv-bootstrap.sh
|
||||||
ADD setenv.sh /usr/local/bin/${project.artifactId}-setenv.sh
|
ADD setenv.sh /usr/local/bin/${project.artifactId}-setenv.sh
|
||||||
COPY docker-entrypoint.sh /usr/local/bin
|
COPY docker-entrypoint.sh /usr/local/bin
|
||||||
RUN chmod 755 /usr/local/bin/docker-entrypoint.sh
|
RUN chmod 755 /usr/local/bin/docker-entrypoint.sh
|
||||||
|
@@ -1,4 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
. /usr/local/bin/tomcat-rad-setenv-bootstrap.sh
|
||||||
. /usr/local/bin/java-dcevm-hotswap-setenv.sh
|
. /usr/local/bin/java-dcevm-hotswap-setenv.sh
|
||||||
. /usr/local/bin/tomcat-rad-setenv.sh
|
. /usr/local/bin/tomcat-rad-setenv.sh
|
||||||
|
|
||||||
|
@@ -52,7 +52,7 @@ webappDir=/var/lib/tomcat/dev/web
|
|||||||
|
|
||||||
# Comma separated list of disabled plugins
|
# Comma separated list of disabled plugins
|
||||||
# Use plugin name - e.g. Hibernate, Spring, ZK, Hotswapper, AnonymousClassPatch, Tomcat, Logback ....
|
# Use plugin name - e.g. Hibernate, Spring, ZK, Hotswapper, AnonymousClassPatch, Tomcat, Logback ....
|
||||||
disabledPlugins=Hibernate
|
disabledPlugins=${hotswap.disabledPlugins}
|
||||||
|
|
||||||
# Watch for changed class files on watchResources path and reload class definition in the running application.
|
# Watch for changed class files on watchResources path and reload class definition in the running application.
|
||||||
#
|
#
|
||||||
|
2
pom.xml
2
pom.xml
@@ -3,7 +3,7 @@
|
|||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>com.inteligr8</groupId>
|
<groupId>com.inteligr8</groupId>
|
||||||
<artifactId>tomcat-rad</artifactId>
|
<artifactId>tomcat-rad</artifactId>
|
||||||
<version>9-1.3</version>
|
<version>9-1.4</version>
|
||||||
<name>Apache Tomcat for Rapid Application Development</name>
|
<name>Apache Tomcat for Rapid Application Development</name>
|
||||||
<packaging>pom</packaging>
|
<packaging>pom</packaging>
|
||||||
|
|
||||||
|
2
setenv-bootstrap.sh
Normal file
2
setenv-bootstrap.sh
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
DISABLE_HOTSWAP_PLUGINS=Hibernate
|
Reference in New Issue
Block a user