CDI extensions are not loaded if they are declared in a source folder.
----------------------------------------------------------------------
Key: JBIDE-9483
URL:
https://issues.jboss.org/browse/JBIDE-9483
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: cdi extensions
Affects Versions: 3.3.0.M3
Reporter: Alexey Kazakov
Assignee: Viacheslav Kabanovich
Fix For: 3.3.x
EXECUTE: Create two CDI projects: Project A and B. Project A should be included in the
class path of project B.
EXECUTE: Create a file
A/<sourceFolder>/META-INF/services/javax.enterprise.inject.spi.Extension
EXECUTE: Add the following text to the service file:
{code}
org.jboss.seam.servlet.ServletExtension
{code}
EXECUTE: Create any bean in project B and add the following injection point to the bean:
{code}
@Inject @RequestParam("id")
private String bookId;
{code}
ASSERT: bookId is not marked as unsatisfied dependency. <- Failure
EXECUTE: Remove
A/<sourceFolder>/META-INF/services/javax.enterprise.inject.spi.Extension
EXECUTE: Build the projects.
ASSERT: bookId is marked as unsatisfied dependency.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira