This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 233989

Summary: [spring][maven] Code completion and hyperlink support doesn't work for classes/spring beans xml in src/test
Product: javaee Reporter: markiewb
Component: SpringAssignee: Martin Fousek <marfous>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P3    
Version: 7.4   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:

Description markiewb 2013-08-06 07:02:05 UTC
* Maven project
* add a spring beans xml named foo-context.xml in src/test
* register the spring beans xml in the project configuration 
* create a public Java class FooBar in /src/test/com.FooBar.java
* in foo-context.xml try to code complete <bean class="com.Foo|"> -> EXPECTED: completes to "com.FooBar"
* create some getter/setter "setName|getName" for a property "name" in /src/test/com.FooBar.java
* in foo-context.xml try to code complete <property name="|" -> EXPECTED: completes to "name"
 

ACTUAL: No CC for the classname/property name for classes within src/test; No hyperlink support to jump to classes within src/test; No hyperlink support to jump to property methods 
EXPECTED: CC AND Hyperlink support to jump to classes/methods for classes within src/test


PS: | shows the position of the caret
 
Product Version: NetBeans IDE Dev (Build 201308012300)
Java: 1.7.0_21; Java HotSpot(TM) Client VM 23.21-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_21-b11
System: Windows XP version 5.1 running on x86; Cp1252; de_DE (nb)
Comment 1 markiewb 2013-10-08 19:22:47 UTC

*** This bug has been marked as a duplicate of bug 226031 ***