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

CDI builder should be declared before WST validation builder in .project.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 3.2.1.CR1, 3.3.0.M2
    • 3.2.0.Final, 3.3.0.M1
    • cdi
    • None

      EXECUTE: Create any CDI project (don't enable CDI support!)
      EXECUTE: If there is no in .project yet then add it there:

      <buildCommand>
      	<name>org.eclipse.wst.validation.validationbuilder</name>
      	<arguments>
      	</arguments>
      </buildCommand>
      

      EXECUTE: Enable CDI support for the project.
      EXECUTE: Open .project
      FAILURE:

      <buildCommand>
      	<name>org.jboss.tools.cdi.core.cdibuilder</name>
      	<arguments>
      	</arguments>
      </buildCommand>
      

      is added to the end of <buildSpec> tag.
      ASSERT: org.jboss.tools.cdi.core.cdibuilder should be declared after org.eclipse.jdt.core.javabuilder but before org.eclipse.wst.validation.validationbuilder

      This is very important since if we have CDI builder declared after WST validator builder then CDI validation will be invoked before CDI builder completed building CDI model. It causes incorrect work of CDI validation.

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

              Created:
              Updated:
              Resolved: