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

CDI validation: Don't warn if CDI 1.1 project doesn't have beans.xml

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 4.2.1.CR1
    • 4.2.0.Final
    • cdi
    • None

      1. Create a CDI 1.1 project (the project should have CDI 1.1 jars in its classpath, from WildFly 8.0 for example)
      2. Don't create beans.xml file when using New CDI Web Project wizard or remove the file from the created project
      3. See Problems view:
      "Missing beans.xml file in the project cdiweb. This file is required for bean archives [JSR-299 ยง12.1]"

      This warning message should appear only for CDI 1.0 projects.

            alexeykazakov Alexey Kazakov
            alexeykazakov Alexey Kazakov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: