[jira] [Created] (OFBIZ-11331) Cannot run ComponentContainerTest on windows

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (OFBIZ-11331) Cannot run ComponentContainerTest on windows

Nicolas Malin (Jira)
Daniel Watford created OFBIZ-11331:
--------------------------------------

             Summary: Cannot run ComponentContainerTest on windows
                 Key: OFBIZ-11331
                 URL: https://issues.apache.org/jira/browse/OFBIZ-11331
             Project: OFBiz
          Issue Type: Bug
          Components: base
    Affects Versions: Trunk
            Reporter: Daniel Watford


Running ComponentContainerTest on windows fails due to parsing of paths of the form '/c:/dev/....'
{quote}org.apache.ofbiz.base.container.ComponentContainerTest > testCheckDependencyForComponent FAILED
 java.nio.file.InvalidPathException at ComponentContainerTest.java:44
{quote}
Line 44:
{quote}private Path ofbizHome = Paths.get(ComponentContainerTest.class.getResource("testsdata").getFile())
 .toAbsolutePath().normalize();
{quote}
 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)