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

JBDS should filter Seam components name containing dash

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • 3.3.0.M3
    • 3.2.0.Final
    • seam2, upstream
    • None
    • Release Notes
    • Hide

      As workaround you can change

      <persistence:entity-manager-factory name="test-warEntityManagerFactory" 
      persistence-unit-name="test-war"/>
      

      to

      <persistence:entity-manager-factory name="entityManagerFactory" 
      persistence-unit-name="test-war"/>
      

      or use Seam 2.1 or 2.2 as a Seam runtime in New Seam Web Project wizard.

      Show
      As workaround you can change <persistence:entity-manager-factory name= "test-warEntityManagerFactory" persistence-unit-name= "test-war" /> to <persistence:entity-manager-factory name= "entityManagerFactory" persistence-unit-name= "test-war" /> or use Seam 2.1 or 2.2 as a Seam runtime in New Seam Web Project wizard.

      JBDS should filter Seam components name containing dash. Similarly to seam-gen where the dash in the name is replaced to underscore character. If i create new Seam Web Project in JBDS for example with name "test-war" then in components.xml is registered component test-warEntityManagerFactory, which is not valid Seam Component name.

            alexeykazakov Alexey Kazakov
            tremes1@redhat.com Tomas Remes
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: