Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-4368

Seam components autocompletion is broken in mavenized projects

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Minor
    • 3.0.0.GA
    • 3.0.0.GA
    • seam2
    • None
    • Workaround Exists

    Description

      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

      Attachments

        Activity

          People

            snjeza_jira Snjezana Peco (Inactive)
            fbricon@redhat.com Fred Bricon
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: