Skip to content

Conversation

@ParkerM
Copy link

@ParkerM ParkerM commented Jan 30, 2021

Running a local development build as described in Running Spring Boot Admin Server for development doesn't work as expected on Windows, with most assets returning a 404.

I suspect the cause is the absolute paths in the form of @project.basedir@/../../spring-boot-admin-server-ui/target/dist/, which resolve to something weird like C:\\Users\\me\\<projectdir>\\../../spring-boot-admin-server-ui/target/dist/.
Using relative paths fixes the issue on Windows, and does not seem to affect existing behavior in *nix (tested on Windows 10 and Ubuntu 20.10).

@jonashackt
Copy link
Member

Thanks @ParkerM for your contribution! I created #1622 to implement a GitHub Actions build for Windows also in order that we could test cases like yours on CI level. When we have a running Windows setup (and the SBA team is okay with that), we'll come back to your PR :octocat:

@jonashackt
Copy link
Member

Hey @ParkerM with #1630 now merged, we also have a running Windows build in our GitHub Actions pipelines - could you please rebase to the newest master state and push into your PR again. With this we should be able to see, if the Windows and Linux build will work with your changes 🙇‍♂️

@ParkerM ParkerM force-pushed the fix/sample-resource-relpaths branch from a858d50 to 73dea54 Compare February 12, 2021 22:56
@ParkerM
Copy link
Author

ParkerM commented Feb 13, 2021

Rebase has been pushed, thanks @jonashackt!
(The Ubuntu build failed with a weird maven central connection error ¯\_(ツ)_/¯.)

@ccoltx ccoltx added this to the 2.4.1 milestone Feb 20, 2021
…-relpaths * origin/master: Add retry on failing subscription (codecentric#1697) chore(deps): update dependency pl.project13.maven:git-commit-id-plugin to v4.0.4 (codecentric#1663) chore(deps): update dependency com.puppycrawl.tools:checkstyle to v8.41.1 (codecentric#1648) Fix for codecentric#1638 (codecentric#1673) Improve npm ci build times (see codecentric#1688) (codecentric#1689) Improved execution of grouped assertions (codecentric#1674) Use maven repo cache during publish snapshots (codecentric#1687) chore(deps): update metcalfc/changelog-generator action to v1 (codecentric#1669) chore(deps): update dependency org.codehaus.mojo:flatten-maven-plugin to v1.2.7 (codecentric#1686) Fix file formating by applying spring-javaformat:apply (codecentric#1685) Cache mvn repo in main build (see codecentric#1677 ) (codecentric#1678) Added support DingTalk notifier. (codecentric#1653) Simplify some code (codecentric#1670) Bugfix/1646 (codecentric#1661) Upgrade spring cloud dependencies (codecentric#1645) chore(deps): update dependency com.github.eirslett:frontend-maven-plugin to v1.11.2 (codecentric#1635) chore(deps): update spring boot to v2.4.3 (codecentric#1637) Bump version to 2.4.1-SNAPSHOT chore(deps): update testcontainers.version to v1.15.2 (codecentric#1629)
@codecov-io
Copy link

codecov-io commented Apr 16, 2021

Codecov Report

Merging #1617 (b0c9da1) into master (875cc28) will increase coverage by 0.02%.
The diff coverage is n/a.

Impacted file tree graph

@@ Coverage Diff @@ ## master #1617 +/- ## ============================================ + Coverage 83.59% 83.61% +0.02%  - Complexity 1212 1213 +1  ============================================ Files 152 152 Lines 3559 3559 Branches 251 251 ============================================ + Hits 2975 2976 +1  + Misses 455 454 -1  Partials 129 129 
Impacted Files Coverage Δ Complexity Δ
...dmin/server/eventstore/InstanceEventPublisher.java 100.00% <0.00%> (+7.14%) 5.00% <0.00%> (+1.00%)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 875cc28...b0c9da1. Read the comment docs.

@SteKoe SteKoe modified the milestones: 2.4.1, 2.4.2 Apr 16, 2021
@SteKoe SteKoe closed this in 4afd31c Apr 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

5 participants