Tomcat DevLoader with extra features.
This provides extra features for Tomcat DevLoader of Sysdeo Eclipse Tomcat Launcher plugin.
- Exclude specific jar files at launching Eclipse Tomcat Launcher.
- Add class path to java.class.path.
You can execute it using the command below:
mvn package
Delete default DevLoader class files.
- Tomcat 5.x
- $TOMCAT_HOME/server/classes/org/apache/catalina/loader/
- $TOMCAT_HOME/server/classes/org/apache/catalina/mbeans/
- Tomcat 6.x
- $TOMCAT_HOME/lib/classes/org/apache/catalina/loader/
- $TOMCAT_HOME/lib/classes/org/apache/catalina/mbeans/
Copy devloader-ex-x.x.jar to $TOMCAT_HOME/lib
- Tomcat 5.x: $TOMCAT_HOME/server/lib
- Tomcat 6.x: $TOMCAT_HOME/lib
Copy conf/devloader.conf to $TOMCAT_HOME/conf/devloader.conf
- Example:
- C:\Software\Java\tomcat\conf/devloader.conf
- /usr/local/java/tomcat/conf/devloader.conf
Cutomize exclude patterns.
- $TOMCAT_HOME/conf/devloader.conf
- Format: java.util.regex.Pattern
# default configration (.*)/servlet-api(.*).jar (.*)/jsp-api(.*).jar (.*)/geronimo-jsp(.*).jar (.*)/geronimo-servlet(.*).jar # for examples (.*)/servlet-api(.*).jar file:/(.*)/servlet-api(.*).jar (.*)/test/(.*)