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

Injection point is not resolved to producer from jar.

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 3.2.0.CR1
    • Fix Version/s: 3.2.0.CR1
    • Component/s: cdi
    • Labels:
      None

      Description

      1. Project A has weld-se-core-1.1.0.Beta1-sources.jar in its class path.
      2. weld-se-core-1.1.0.Beta1-sources.jar has ParametersFactory.class:
      @Produces
      @Parameters
      public List<String> getArgs()

      { return argsList; }

      and Parameters.class:

      @Qualifier
      @Retention(RUNTIME)
      @Target(

      { PARAMETER, METHOD, FIELD, TYPE }

      )
      public @interface Parameters {}

      3. Project A also has the following class:

      public class ShellImpl

      { @Inject @Parameters private List<String> parameters; }

      4. But private List<String> parameters; is not resolved to getArgs() producer.

      This example is from froge-shell (seam-forge) project.

        Gliffy Diagrams

          Issue Links

            Activity

            Hide
            scabanovich Viacheslav Kabanovich added a comment -

            jar files of weld do not include file entry META-INF/beans.xml. So our model ignores them. I think we only can take them into consideration by name pattern weld-*

            Show
            scabanovich Viacheslav Kabanovich added a comment - jar files of weld do not include file entry META-INF/beans.xml. So our model ignores them. I think we only can take them into consideration by name pattern weld-*
            Hide
            akazakov Alexey Kazakov added a comment -

            Exculded weld-extensions*.jar.
            See the full list of loaded beans from weld jars here: http://pastebin.com/U902Din1

            Show
            akazakov Alexey Kazakov added a comment - Exculded weld-extensions*.jar. See the full list of loaded beans from weld jars here: http://pastebin.com/U902Din1
            Hide
            jlukas Lukas Jungmann added a comment -

            v. in v20110121-0004-H124-CR1

            Show
            jlukas Lukas Jungmann added a comment - v. in v20110121-0004-H124-CR1

              People

              • Assignee:
                scabanovich Viacheslav Kabanovich
                Reporter:
                akazakov Alexey Kazakov
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Development