[ 
https://issues.apache.org/jira/browse/OWB-959?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14008210#comment-14008210
 ] 

Gerhard Petracek commented on OWB-959:
--------------------------------------

there was a reason for adding "file:" -> imo it's better to check the path -> 
only add "file:", if it isn't part of the file-url.

> 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)

Reply via email to