[jbosstools-issues] [JBoss JIRA] Created: (JBIDE-4368) Seam components autocompletion is broken in mavenized projects

Fred Bricon (JIRA) jira-events at lists.jboss.org
Fri May 22 12:39:56 EDT 2009


Seam components autocompletion is broken in mavenized projects
--------------------------------------------------------------

                 Key: JBIDE-4368
                 URL: https://jira.jboss.org/jira/browse/JBIDE-4368
             Project: Tools (JBoss Tools)
          Issue Type: Bug
          Components: Seam
    Affects Versions: 3.0.0.GA
         Environment: Vista, Eclipse 3.4.2.SR2, JBoss Tools 3.0.0.GA-R200903141626-H5, m2eclipse 0.9.8
            Reporter: Fred Bricon
            Priority: Minor


Hi,

It looks like Seam components can't be found when editing xhtml pages for Mavenized projects. Try with the Seam Booking Mavenized example : 
- open hotelview.xhtml in the booking project, 
- Hold ctrl+ click on an EL like #{hotel.name} : An error message appears in the lower left  corner of eclipse : Current text selection doesn't resolve to a file
- type #{ and press Ctrl+space : components defined in booking-ejb are unavailable, but components from seam.jar are present

There's a workaround : if you add booking-ejb as a provided dependency in the booking pom.xml, links and autocompletion work as expected.
This is odd as regular seam web projects dont need their ejb project counterpart in their classpath

regards,

Fred Bricon

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

        



More information about the jbosstools-issues mailing list