Skip to content
Snippets Groups Projects

#11 closed fix jett ssl port config

Merged mmarkus1 requested to merge feature/#11-jetty-ssl-port into develop
1 file
+ 12
7
Compare changes
  • Side-by-side
  • Inline
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<xsl:output method="xml"
version="1.0"
encoding="UTF-8"
<xsl:output method="xml"
version="1.0"
encoding="UTF-8"
indent="no"
doctype-public="-//Jetty//Configure//EN"
doctype-system="http://www.eclipse.org/jetty/configure_9_3.dtd"/>
<xsl:param name="customPort"/>
<xsl:template match="@*|node()">
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
</xsl:template>
<!-- <xsl:template match="SystemProperty[@name = 'jetty.port']">
<xsl:copy>
<xsl:apply-templates select="@*[not(. = 'default')]"/>
@@ -22,8 +22,13 @@
</xsl:copy>
</xsl:template>-->
<!-- <xsl:template match="comment()"/>-->
<xsl:template match="@default[parent::*[@name = 'jetty.port']]">
<xsl:attribute name="default"><xsl:value-of select="$customPort"/></xsl:attribute>
</xsl:template>
</xsl:stylesheet>
\ No newline at end of file
<xsl:template match="@default[parent::*[@name = 'jetty.ssl.port']]">
<xsl:attribute name="default"><xsl:value-of select="$customPort"/></xsl:attribute>
</xsl:template>
</xsl:stylesheet>
Loading