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

Cannot run ComponentContainerTest on windows

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Trunk
    • None
    • base
    • 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

              jleroux Jacques Le Roux
              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