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

Maven Seam configurator breaks Seam and JSF validation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.3.0.Beta1
    • 3.3.0.Beta1
    • maven, seam2
    • None
    • Hide

      1. Import http://anonsvn.jboss.org/repos/seam/branches/community/Seam_2_3/examples/booking/
      2. See the problems view:

      • "EL Validator cannot run on project booking-ejb because Validation Builder precedes JBoss Knowledge Base Builder."
      • "Seam Core Validator cannot run on project booking-ejb because Validation Builder precedes Seam Builder."
      Show
      1. Import http://anonsvn.jboss.org/repos/seam/branches/community/Seam_2_3/examples/booking/ 2. See the problems view: "EL Validator cannot run on project booking-ejb because Validation Builder precedes JBoss Knowledge Base Builder." "Seam Core Validator cannot run on project booking-ejb because Validation Builder precedes Seam Builder."

      Maven Seam configurator should not to add Seam and KB builders after WST validation builder.
      It's much safer to use org.jboss.tools.seam.core.SeamUtil.enableSeamSupport() to enable Seam support for the project rather than adding the nature using Eclipse API directly.
      SeamUtil.enableSeamSupport() will insert Seam (and KB if needed) nature/builder in correct order between Java and WST builders.

            fbricon@redhat.com Fred Bricon
            alexeykazakov Alexey Kazakov
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: