Change By: Fatha Idrees (30/Apr/13 3:34 PM)
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 .

.. .
...
-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running info.magnolia.module.resources.gui.ResourcesTemplateColumnTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.998 sec
Running info.magnolia.module.resources.renderers.ResourcesTextTemplateRendererTest
Tests run: 7, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.5 sec <<< FAILURE!
Running info.magnolia.module.resources.setup.InstallResourceTaskTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec

Results :

Tests in error: 
  testResourcesAreLoadedFromArbitraryPath(info.magnolia.module.resources.renderers.ResourcesTextTemplateRendererTest): Template /style.css not found.

Tests run: 12, Failures: 0, Errors: 1, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.731s
[INFO] Finished at: Tue Apr 30 15:07:05 CEST 2013
[INFO] Final Memory: 15M/220M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project magnolia-module-resources: There are test failures.
 
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



----------------------------------------------------------------
For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to