[MGNLRES-58] How to use FileSystemResourcesLoader with a custom path Created: 30/Apr/13 Updated: 29/Mar/22 Resolved: 14/Mar/22 |
|
| Status: | Closed |
| Project: | Magnolia Resources Module |
| Component/s: | resourceLoaders |
| Affects Version/s: | 1.5.6, 2.0 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Neutral |
| Reporter: | Fatha Idrees | Assignee: | Unassigned |
| Resolution: | Obsolete | Votes: | 0 |
| Labels: | maintenance | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Template: |
|
| Acceptance criteria: |
Empty
|
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
| Bug DoR: |
[ ]*
Steps to reproduce, expected, and actual results filled
[ ]*
Affected version filled
|
| Team: |
| Description |
|
I added the FileSystemResourceLoader in the Config and set a custom path but it does not work. I tried to get the file this way .../resources/filenmae.css and .../resources/custom_path/filenmae.css And by compiling the reosurce module i got this error: The Error exit because there is mixing of slash an backslash in the basePath for the FileSystemResourceLoader. ... Results : Tests in error: Tests run: 12, Failures: 0, Errors: 1, Skipped: 0 [INFO] ------------------------------------------------------------------------ |