You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Thomas Andraschko (JIRA)" <de...@myfaces.apache.org> on 2015/10/04 20:24:27 UTC

[jira] [Commented] (MYFACES-3212) Give Hint when CustomAnnotationProvider needed, ex. when DefaultAnnotationProvider fails on jboss AS6 related to jboss-vfs urls

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

Thomas Andraschko commented on MYFACES-3212:
--------------------------------------------

AFAICS WildFly now provides an mode for MyFaces as JSF implementation. I would close it as won't fix. WDYT?

> Give Hint when CustomAnnotationProvider needed, ex. when DefaultAnnotationProvider fails on jboss AS6 related to jboss-vfs urls
> -------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MYFACES-3212
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3212
>             Project: MyFaces Core
>          Issue Type: Improvement
>          Components: JSR-314
>    Affects Versions: 2.0.7, 2.1.1
>         Environment: JBoss AS6 and others
>            Reporter: Pablo Morales Mombiela
>   Original Estimate: 1m
>  Remaining Estimate: 1m
>
> When scanning class files searching for annotatios, if org.apache.myfaces.config.annotation.DefaultAnnotationProvider can not open URL quietly do nothing. It's really difficult to discover what is going on and many people may think that provided MyFaces can not be used on JbossAS6 
> I think that org.apache.myfaces.config.annotation.DefaultAnnotationProvider._getAlternativeJarFile(URL url) must report/log some error before 'return null' and point the user to implement a CustomAnnotationProvider in order to make it work.
> I didn't found any documentation that make this clear at any point. MyFaces documentation should explain:
>    - why is needed
>    - How to provide custom DefaultAnnotationProvider in web.xml context param or in META-INF/services/org.apache.myfaces.spi.AnnotationProvider
>    - Explain that in JBoss AS6 a custom implementation must be provided able to use jboss-vsf and point to VSF documentation in http://community.jboss.org/wiki/VFS3UserGuide. We implemented a scanner based on VSF visitor pattern that work great but spent a huge amount of time on it. Can't this provider be included because of license issues with jboss?
> This will make migration from Mojarra much faster when using jboss and probably others.
> Thank you for your attention. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)