[jbosstools-issues] [JBoss JIRA] Created: (JBIDE-9193) Wrong line number in OpenOn for injection of bean declared in seam config.

Alexey Kazakov (JIRA) jira-events at lists.jboss.org
Fri Jun 17 14:47:23 EDT 2011


Wrong line number in OpenOn for injection of bean declared in seam config.
--------------------------------------------------------------------------

                 Key: JBIDE-9193
                 URL: https://issues.jboss.org/browse/JBIDE-9193
             Project: Tools (JBoss Tools)
          Issue Type: Bug
          Components: cdi (jsr-299)
    Affects Versions: 3.3.0.M2
            Reporter: Alexey Kazakov
            Assignee: Viacheslav Kabanovich
             Fix For: 3.3.0.M3
         Attachments: screen.png

EXECUTE: Create CDI project with Seam Config support
EXECUTE: Add the following files to the project:
{code}
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://java.sun.com/xml/ns/javaee"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns:s="urn:java:ee" 
       xmlns:r="urn:java:org.example.reports">

	<r:Resource>
	  <s:Produces/>
	  <r:SalesQualifier/>
	  <value>Text</value>
	</r:Resource>
</beans>
{code}
{code}
package org.example.reports;

import javax.inject.Inject;

public class Report {

	public @Inject @SalesQualifier Resource path;
}
{code}
{code}
package org.example.reports;

public class Resource {
}
{code}
EXECUTE: Ctrl+Click on public @Inject @SalesQualifier Resource path;
FAILURE: There is "Open Resource in beans.xml at line 6.
ASSERT: There is "Open Resource in beans.xml at line 7.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list