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 74556

Summary: Provide refactoring support for Struts
Product: javaee Reporter: jsid25 <jsid25>
Component: StrutsAssignee: Martin Fousek <marfous>
Status: RESOLVED WONTFIX    
Severity: blocker CC: pjiricka
Priority: P3    
Version: 5.x   
Hardware: PC   
OS: Windows XP   
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on: 163147    
Bug Blocks: 173299    

Description jsid25 2006-04-07 01:52:57 UTC
Hi,
I was going over Netbean 5.0 Quickstart Guide for the Struts Web Framework.
I initially started with the default package name: com.myapp.struts
I then decided to rename it to: com.steadfastprocesses.struts
I used previewing on refactoring changes, it looked all right, however
i had an exception when i tried running the project: login.name key message empty, but my 
ApplicationRessource.properties did list login.name=Name.
I then changed my package name back to com.myapp.struts and sure enough i did not get any 
exception.
So I went and looked in struts-config.xml and tried changing the name of the package by refractoring, 
this is when I noticed that  the <message-ressources parameter= did not change accordingly keeping 
the old package info. It does not seem like it is a bug which is hard to fix but I am sure it has driven 
some people crazy already.  I havent tried the latest version of Netbeans to see if it was fixed yet.
Thanks
Ben
Comment 1 Jiri Prox 2006-04-07 08:27:02 UTC
Reassigning to j2ee/refactoring for evaluation
Comment 2 Erno Mononen 2006-05-12 15:04:00 UTC
Unfortunately refactoring support for struts-config.xml is not planned for 5.5, 
perhaps in later releases.
Comment 3 Petr Jiricka 2006-07-31 15:45:02 UTC
I agree this should be done in NB 6.0. I would classify this as an enhancement -
it's just not implemented.
Comment 4 Erno Mononen 2007-11-07 14:26:35 UTC
I'm changing the summary to cover Struts refactoring support in general and will close similar issues as duplicates of 
this.
Comment 5 Erno Mononen 2007-11-07 14:28:36 UTC
*** Issue 69559 has been marked as a duplicate of this issue. ***
Comment 6 Erno Mononen 2007-11-07 14:30:37 UTC
*** Issue 114458 has been marked as a duplicate of this issue. ***
Comment 7 Petr Jiricka 2009-09-30 12:44:05 UTC
*** Issue 157148 has been marked as a duplicate of this issue. ***
Comment 8 Martin Balin 2016-07-07 08:54:24 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