[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-6515) Cannot use new faces config wizard to register faces-config in mvn project

Viacheslav Kabanovich (JIRA) jira-events at lists.jboss.org
Thu Jun 24 11:16:46 EDT 2010


    [ https://jira.jboss.org/browse/JBIDE-6515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12536947#action_12536947 ] 

Viacheslav Kabanovich commented on JBIDE-6515:
----------------------------------------------

Wizard looks for web.xml only if JSF Capabilities are configured (by Configure->Add JSF Capabilities...). In this specific case it truly seems obvious to look into the same folder, but many other features depend on JSF Capabilities and it is better to prompt customer to enable them rather than try to work them around in particular cases. That is why, instead of 'improving' wizard by clever guess at where web.xml might be, I will change error message to "To enable registering in web.xml please configure for this project JSF Capabilities.".

> Cannot use new faces config wizard to register faces-config in mvn project
> --------------------------------------------------------------------------
>
>                 Key: JBIDE-6515
>                 URL: https://jira.jboss.org/browse/JBIDE-6515
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: JSF
>    Affects Versions: 3.2.0.M1
>            Reporter: Lukas Jungmann
>            Assignee: Viacheslav Kabanovich
>            Priority: Minor
>             Fix For: 3.2.0.M2
>
>
> -create new maven project, packaged as war
> -check that web.xml is created in $APP/src/main/webapp/WEB-INF, if not then create it
> -invoke New Faces Config wizard, set folder to $APP/src/main/webapp/WEB-INF and check Register in web.xml
> => wizard says "Faces config cannot be registered because web.xml is not found" but it's in folder where I'm trying to create the config file, so in this case - same directory, I think, it should be found

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list