[
https://issues.apache.org/jira/browse/OWB-959?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14008212#comment-14008212
]
Joe Bergmark commented on OWB-959:
----------------------------------
I should clarify, I'm curious the reason because from OWB-526 (in early 2011),
until OWB-953 (last week) that addPath has basically been ignored and the
unmodified url has been used.
Its not clear to me in what case we would get a url without a scheme and need
to prepend "file:/" to it. as it seems to me that case would have been broken
for a long time.
> 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)