on 03-29-2005 3:21 PM
Can anyone outline for me the set of steps needed to rename the package that an existing Web Dynpro app is contained in?
I tried doing this from the Java perspective in NDS, clicking on all of the packages and doing a Refactor -> Rename conducted the previews, and then performed the refactoring.
Unfortunately I encountered numerous errors when trying to view the project from the Web Dynpro perspective.
Has anyone successfully done this? Can someone suggest a proper approach?
hi,
If your question is about renaming the webdynpro project,then you can do it
1)close the project
2)go to where the project folder is in the system
3)rename the folder
4)get the .project file inside the project folder
5)after the tag name there will be the name of the project .Change the name to the new name
6)Reimport the project
If it is renaming components.you have the option of rename.before renaming nodes delete the mappings to avoid error being shown due to proxy class generation.
hope this helps you
Regards
Rohit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The Previous Answer looks good but i suppose this can be done with the NDS SP10 i.e in 2.0.10 and previous versions dosent support the same.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Yes you can change the package name
follow the following steps
1)In NWDS, switch to Web Dynpro project (webDynpro Prespective)
2)Expnd (collapse) Webdynpro components, right click on your component, rename here you can rename the package, you can rename the component.
3)Donot forget to change necessary import statements in souce code of your views(beacuse you renamed the package)
4)Save all metadata, rebuild project deploy and run..
Hope this helps you
Regards,
RK
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Jason,
Try to re-name components / controllers from WD perspective -- it works much better (also after renaming you have to examine your code for errors -- references to used controllers usually do not renamed correctly as well as generated classes for context nodes).
VS
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.