ofbiz-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Watford (Jira)" <j...@apache.org>
Subject [jira] [Updated] (OFBIZ-11331) Cannot run ComponentContainerTest on windows
Date Tue, 28 Jan 2020 12:44:00 GMT

     [ https://issues.apache.org/jira/browse/OFBIZ-11331?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Daniel Watford updated OFBIZ-11331:
-----------------------------------
    Description: 
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}
 

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

  was:
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}
 


> 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
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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}
>  
> PR created: [https://github.com/apache/ofbiz-framework/pull/8]



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

Mime
View raw message