[
https://issues.apache.org/jira/browse/OWB-959?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14008318#comment-14008318
]
Joe Bergmark commented on OWB-959:
----------------------------------
I'm fine with some code like
if (!appPath.startsWith("file:/"))
{
appPath = "file:/" + appPath;
}
I just want to reiterate that anything that needed that code has been broken
since 2011 when we stopped using addPath entirely, so I'm not sure how critical
it is.
> file:// urls are corrupted by WebScannerService
> -----------------------------------------------
>
> Key: OWB-959
> URL: https://issues.apache.org/jira/browse/OWB-959
> Project: OpenWebBeans
> Issue Type: Bug
> Components: Core
> Affects Versions: 1.2.5
> Reporter: Joe Bergmark
> Assignee: Joe Bergmark
> Priority: Minor
> Attachments: OWB-959.patch
>
>
> Running the guess sample application from mvn with the jetty:run target on my
> system leads to no bean classes found.
> This appears to be caused by
> org.apache.webbeans.web.scanner.WebScannerService#createURLFromMarkerFile
> which prepends "file:/" to the URL which in my testing leads to a string that
> looks like "file:/file:/<path>" and causes no classes to be found
--
This message was sent by Atlassian JIRA
(v6.2#6252)