Skip to content

Commit fd72bcd

Browse files
committed
fix compile problems in 2024.06.x
1 parent a0a1646 commit fd72bcd

File tree

6 files changed

+13
-17
lines changed

6 files changed

+13
-17
lines changed

pom.xml

+3-4
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,7 @@
3535
<maven.compiler.release>${java.target.version}</maven.compiler.release>
3636
<media.projectBase>${project.build.directory}/media</media.projectBase>
3737
<mir.version>2024.06.1-SNAPSHOT</mir.version>
38-
<node.version>v16.19.1</node.version>
39-
<npm.version>6.14.18</npm.version>
38+
<npm.version>10.9.2</npm.version>
4039
<rcclient.projectBase>${project.build.directory}/rcclient</rcclient.projectBase>
4140
<template.assetsdir>${template.targetdir}/dbt/assets</template.assetsdir>
4241
<template.cssdir>${template.targetdir}/dbt/css</template.cssdir>
@@ -239,7 +238,7 @@
239238
<goals>
240239
<goal>npm</goal>
241240
</goals>
242-
<phase>process-resources</phase>
241+
<phase>none</phase>
243242
<configuration>
244243
<workingDirectory>${rcclient.projectBase}</workingDirectory>
245244
<arguments>install</arguments>
@@ -251,7 +250,7 @@
251250
<goals>
252251
<goal>grunt</goal>
253252
</goals>
254-
<phase>process-resources</phase>
253+
<phase>none</phase>
255254
<configuration>
256255
<workingDirectory>${rcclient.projectBase}</workingDirectory>
257256
<arguments>--verbose</arguments>

src/main/grunt/package.json

+4-3
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
},
1515
"devDependencies": {
1616
"@fortawesome/fontawesome-free": "5.13.1",
17-
"grunt": ">=1.3.0",
18-
"grunt-cli": "^1.2.0",
17+
"grunt": ">=1.6.1",
18+
"grunt-cli": "^1.5.0",
1919
"grunt-contrib-concat": "^1.0.0",
2020
"grunt-replace": "^1.0.0",
2121
"grunt-contrib-copy": "^1.0.0",
@@ -27,8 +27,9 @@
2727
"angular-modal-service": "~0.15.2",
2828
"bootstrap": "4.6.2",
2929
"bootstrap-fileinput": "~5.1.1",
30+
"imagemin-gifsicle": "~7.0.0",
3031
"node-waves": "~0.7.6",
31-
"summernote": "~0.8.11",
32+
"summernote": "~0.9.1",
3233
"jquery-sortable": "~0.9.12",
3334
"video.js": "7.21.5",
3435
"videojs-share": "^3.2.1"

src/main/java/de/urmel_dl/dbt/commandline/RepairCommands.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ private static Optional<String> getDefaultMainFile(MCRDerivate derivate) {
144144
Files.walkFileTree(path, visitor);
145145

146146
//sort files by name
147-
ArrayList<java.nio.file.Path> paths = visitor.getPaths();
147+
List<java.nio.file.Path> paths = visitor.getPaths();
148148
paths.sort(Comparator.comparing(java.nio.file.Path::getNameCount)
149149
.thenComparing(java.nio.file.Path::getFileName));
150150
//extract first file, before filtering

src/main/media/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
"css-loader": "^6.7.3",
2828
"extract-loader": "^5.0.1",
2929
"mini-css-extract-plugin": "^2.7.2",
30-
"node-sass": "^9.0.0",
31-
"sass-loader": "^13.2.0",
30+
"sass": "^1.85.1",
31+
"sass-loader": "^16.0.5",
3232
"svgo": "^1.3.2",
3333
"svgo-loader": "^2.2.2",
3434
"terser-webpack-plugin": "^5.3.6",

src/main/resources/xsl/layout/dbt-layout.xsl

+2-4
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@
165165
<xsl:template name="layout.head">
166166
<nav class="navbar navbar-expand-md navbar-light navbar-dbt fixed-top" role="navigation">
167167
<div class="container">
168-
<a class="navbar-brand" href="{concat($WebApplicationBaseURL,substring($loaded_navigation_xml/@hrefStartingPage,2),$HttpSession)}">
168+
<a class="navbar-brand" href="{concat($WebApplicationBaseURL,substring($loaded_navigation_xml/@hrefStartingPage,2))}">
169169
<span class="img-placeholder"></span>
170170
</a>
171171
<button type="button" class="navbar-toggler collapsed plus-sign" data-toggle="collapse" data-target="#navbar,#container-overlay"
@@ -410,7 +410,7 @@
410410
</li>
411411
<li class="dropdown-divider" />
412412
<li class="dropdown-item">
413-
<a href="{$ServletsBaseURL}MCRBasketServlet{$HttpSession}?type={$basket/@type}&amp;action=show">
413+
<a href="{$ServletsBaseURL}MCRBasketServlet?type={$basket/@type}&amp;action=show">
414414
<xsl:value-of select="i18n:translate('basket.open')" />
415415
</a>
416416
</li>
@@ -426,8 +426,6 @@
426426
<xsl:with-param name="navigation" select="$loaded_navigation_xml" />
427427
</xsl:call-template>
428428

429-
<!-- include Internet Explorer warning -->
430-
<xsl:call-template name="msie-note" />
431429

432430
<!-- <xsl:call-template name="action.buttons" /> -->
433431
<xsl:call-template name="print.writeProtectionMessage" />

src/main/resources/xsl/layout/dbt-navigation.xsl

+1-3
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,7 @@
7272
<xsl:value-of select="@href" />
7373
</xsl:when>
7474
<xsl:otherwise>
75-
<xsl:call-template name="UrlAddSession">
76-
<xsl:with-param name="url" select="concat($WebApplicationBaseURL,substring-after(@href,'/'))" />
77-
</xsl:call-template>
75+
<xsl:value-of select="concat($WebApplicationBaseURL,substring-after(@href,'/'))" />
7876
</xsl:otherwise>
7977
</xsl:choose>
8078
</xsl:param>

0 commit comments

Comments
 (0)