[MAGNOLIA-6153] Analyse problems with resource loading on windows Created: 02/Apr/15  Updated: 02/Feb/16  Resolved: 02/Apr/15

Status: Closed
Project: Magnolia
Component/s: resource-loader
Affects Version/s: None
Fix Version/s: 5.4

Type: Task Priority: Neutral
Reporter: Michael Mühlebach Assignee: Michael Mühlebach
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
relation
is related to MAGNOLIA-6531 ExclusionsFilter should take system s... Closed
Template:
Acceptance criteria:
Empty
Task DoR:
Empty
Sprint: 5.4 Sprint 4

 Description   

The FileSystemOrigin does not work correctly on Windows. The problem is java.nio.Path whose only method for returning a string representation of the path always has system specific path separators. Our resource paths and origins do only work with unix like paths.
The solution is to use some kind of normaliser like the apache io util FilenameUtils.


Generated at Mon Feb 12 04:11:48 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.