[jboss-user] [JBoss Tools] - Jboss Maven Jsf Integration: Faces-config.xml Editor Problem

yoel.ben do-not-reply at jboss.com
Mon Sep 19 12:36:13 EDT 2011

yoel.ben [http://community.jboss.org/people/yoel.ben] created the discussion

"Jboss Maven Jsf Integration: Faces-config.xml Editor Problem"

To view the discussion, visit: http://community.jboss.org/message/627277#627277

Dear all,

My problem is that I want to use Eclipse JSF Faces-config editor to draw navigation rules between xhtml page.
But with the use of Jboss Maven Jsf Integration it's seem impossible (see the file in attachment).

I have detected the problem :
The Jboss plugin adds in the file  *org.eclipse.wst.common.component :*
*       ...*
*       <wb-resource deploy-path="/" source-path="/target/m2e-wtp/web-resources"/>*
       <wb-resource deploy-path="/" source-path="/src/main/webapp"/>  *...*

And the Eclipse faces-config editor seems to load the first wb-resource with the attribute "source-path" and ignoring the next one.
If you inverse these two ligns. the faces editors works (we can chose Page to define navigation rules).
But when an maven update project configuration is launch, the plugin writes *<wb-resource deploy-path="/" source-path="/target/m2e-wtp/web-resources"/>* always before  <wb-resource deploy-path="/" source-path="/src/main/webapp"/>.

Is it a bug of Jboss Tools or of the Editor?



Reply to this message by going to Community

Start a new discussion in JBoss Tools at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110919/b019f950/attachment.html 

More information about the jboss-user mailing list