Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-11331

Cannot run ComponentContainerTest on windows

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Trunk
    • Fix Version/s: Upcoming Branch
    • Component/s: base
    • Labels:
      None

      Description

      Running ComponentContainerTest on windows fails due to parsing of paths of the form '/c:/dev/....'

      org.apache.ofbiz.base.container.ComponentContainerTest > testCheckDependencyForComponent FAILED
      java.nio.file.InvalidPathException at ComponentContainerTest.java:44

      Line 44:

      private Path ofbizHome = Paths.get(ComponentContainerTest.class.getResource("testsdata").getFile())
      .toAbsolutePath().normalize();

       

      PR created: https://github.com/apache/ofbiz-framework/pull/8

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jleroux Jacques Le Roux
                Reporter:
                danwatford Daniel Watford
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m