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

Snjezana Peco (JIRA) jira-events at lists.jboss.org
Sat May 23 19:01:58 EDT 2009


     [ https://jira.jboss.org/jira/browse/JBIDE-4368?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Snjezana Peco resolved JBIDE-4368.
----------------------------------

    Fix Version/s: 3.0.0.GA
       Resolution: Done


The standard Seam WAR project also depends on the EJB project. You can see that if you call Window>Prefrences>Java EE Module Dependencies. It is also possible to add this dependency to mavenized projects in the same way, but I think that your solution is better. 
I have added your fix to the mavenized Seam Project Examples.
Thanks.

> 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
>            Assignee: Snjezana Peco
>            Priority: Minor
>             Fix For: 3.0.0.GA
>
>
> 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