This tool has been deprecated, instead Tomcat now uses xsltproc to perform all the changes in server.xml file.
If you want to resume work, please contact us at GitHub Discussions or the devel channel at Gitter
=====
A simple tool to add/remove tags and elements from/to the server.xml file of a Tomcat server.
Call tomcat-serverxml-tool.sh without arguments for help
./serverxml-tool.sh add-context.xslt docBase=/usr/share/tomcat/tomcat-webapps/host-manager path=/host-manager contextXml=/usr/share/tomcat/tomcat-webapps/host-manager/META-INF/context.xml
where:
add-context.xsltis an xslt file insrc/com/suse/tcserverxml/docBase,pathandcontextXmlare the parameters inadd-context.xslt