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 157980 - Refactor/move class in a Java Web Project doesn't change the class name in the Spring appcontext XML file.
Summary: Refactor/move class in a Java Web Project doesn't change the class name in th...
Status: RESOLVED WORKSFORME
Alias: None
Product: javaee
Classification: Unclassified
Component: Spring (show other bugs)
Version: 6.x
Hardware: All Linux
: P3 blocker with 1 vote (vote)
Assignee: Martin Fousek
URL:
Keywords:
: 85079 (view as bug list)
Depends on:
Blocks: 173299
  Show dependency tree
 
Reported: 2009-02-05 10:31 UTC by gyszalai
Modified: 2016-07-10 21:11 UTC (History)
2 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gyszalai 2009-02-05 10:31:19 UTC
I created a Java Web Project with existing sources. Later on I added the Spring framework to the project libs and
created a spring application context XML file under WEB-INF. I configured a few classes in this context file, then moved
one of the classes from one package to another with refactor->move, but the class attribute in the Spring config didn't
reflect the new classname.
Comment 1 Jiri Prox 2009-02-05 10:39:02 UTC
This must be fixed  in the module providing spring framework
Comment 2 Petr Jiricka 2009-09-30 12:34:46 UTC
I don't think there is any code that handles this. This is really an enhancement request.
Comment 3 Petr Jiricka 2009-09-30 12:35:29 UTC
*** Issue 85079 has been marked as a duplicate of this issue. ***
Comment 4 Martin Balin 2016-07-07 08:55:19 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss
Comment 5 markiewb 2016-07-10 21:11:38 UTC
Should work, if you have configured the spring configuration in the project properties.