Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
build
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
SADE
build
Merge requests
!24
#11
closed fix jett ssl port config
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
#11
closed fix jett ssl port config
feature/#11-jetty-ssl-port
into
develop
Overview
1
Commits
1
Pipelines
1
Changes
1
Merged
mmarkus1
requested to merge
feature/#11-jetty-ssl-port
into
develop
5 years ago
Overview
1
Commits
1
Pipelines
1
Changes
1
Expand
see
#11 (closed)
The config off jettys ssl port didn't work properly. fixed!
0
0
Merge request reports
Compare
develop
develop (base)
and
latest version
latest version
2cc87fbb
1 commit,
5 years ago
1 file
+
12
−
7
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
resources/jetty-port-update.xsl
+
12
−
7
Options
<?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