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

Seam 2.1 causes errors in components.xml

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.0.0.cr1
    • 3.0.0.alpha
    • seam2
    • None

      when using Seam 2.1 components.xml contains <security:rule-based-permission-resolver security-rules="#

      {securityRules}

      "/>

      This is marked as an error: "org.jboss.seam.security.RuleBasedPermissionResolver" cannot be resolved to a type

      Which is caused because seam tooling until now just assumed the xml could be mapped directly as org.jboss.seam.[postcolonname].[camelcaseoftagname]

      That is true 99% of the time but Seam 2.1 introduced that the xml can be mapped to multiple packages causing this mapping to fail + extenders of Seam would
      bump into this too if they use a package name other than org.jboss.seam.

      We should implement the proper packageInfo lookups so we get this done properly.

              scabanovich Viacheslav Kabanovich (Inactive)
              manderse@redhat.com Max Andersen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: