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

CDI Searcher doesn't look for beans in dependent projects

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.3.0.Beta1
    • 3.3.0.M4
    • cdi
    • None

      EXECUTE: Create two CDI projects: ProjectA and ProjectB. ProjectB depends on ProjectA.
      EXECUTE: Create a bean in ProjectA:

      @Named("cdiBean")
      public class CDIBeanTest {
      }
      

      EXECUTE: Create another bean in ProjectB:

      public class TestBean {
          @Inject @Named("cdiBean") Object foo;
      }
      

      EXECUTE: Select CDIBeanTest class name in CDIBeanTest.java and press Ctrl+Shift+G
      ASSERT: TestBean.foo should be found as an injection point which gets the wanted bean. Now it's working only if you have both beans in the same project.

        There are no Sub-Tasks for this issue.

            dazarov_jira Daniel Azarov (Inactive)
            alexeykazakov Alexey Kazakov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: