cancel
Showing results for 
Search instead for 
Did you mean: 

rename a webdynpro for java project

Former Member
0 Kudos

Hi

I have a project in webdynpro for java.

I want to rename it as a new project in the same workspace and deploy it as a new application within a new project in WAS what should I do .

Please give a detailed way to achieve the same. Please help.

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi,

You can rename an existing project in Netweaver Developer Studio

1. In studio close the project.

2. Go to your workpace and inside your project folder open the .project file in a notepad and change the name of the project in the <name> </name> tag and

save and close the .project file.

Example:

<?xml version="1.0" encoding="UTF-8"?>

<projectDescription>

<name>NewProjectName</name>

<comment></comment>

<projects>

</projects>

3.Rename the project folder.

4.Reimport the renamed project in your Netweaver Developer studio.

Regards,

Bala Baskaran.s

Former Member
0 Kudos

Hi,

To Rename WebDynpro Project:

Change the project folder name and inside that folder, in .project file change the project description.

To Rename WebDynpro Application:

Close your project in NWDS.Search for the file applicationName.wdapplication in your project folder under src\packages\...ur package folder.Rename the applicationName.wdapplication file with your newapplicationName.wdapplication.Save and open in NWDS. Your application name will be changed.

Regards,

Laksh.

nikhil_bose
Active Contributor
0 Kudos

If it is Local Dynpro project:

In Studio

1. Delete the project (Donu2019t delete contents).

In Workspace:

2. Rename the project folder to new project name.

3. inside the project folder .project file is available edit the file with notepad.

Example:

<?xml version="1.0" encoding="UTF-8"?>

<projectDescription>

<name>NewProjectName</name>

<comment></comment>

<projects>

</projects>

Enter new project name in <name> </name> tag.

4.save and close the file.

In Studio

5. Import the Project to Studio.

nikhil

Former Member
0 Kudos

After following the steps which Nikhil has mentioned above,

you also need to create a new Application and rename the component used.

One single Application if deployed on the same server more than once from different projects, can throw errors wfile deploying.

To avoid this... follow the following steps:

1) Delete the existing Application in the New Project.

2) Create a new Application with a new name and click on NEXT in the popup window.

3) Check the radio button -> "Use Existing Component".

4) Choose the required existing component and click FINISH.

Now you need to rename the existing Component which is being used by the New Application.

For this..

1) Right click on the Component -> Rename.

2) In the popup, Enter the new component name. Then NEXT.

3) System will check the affected objects. Then click FINISH.

4) You might get some errors.

5) Rebuild the project. You will find more errors.

6) To eliminate the errors, go to the implementation of

Component Controller and rename the old component name

with the new one (wherever used). Then do the same in the

implementation of all the Views.

7) Now Rebuild the project. the errors will be removed.

😎 Deploy the New Application.

Regards,

Sayan Ghosh

Former Member
0 Kudos

Hi,

Its possible to rename the project even though its offically not supported.

This might be useful for you check this

<a href="/people/daniel.wirbser/blog/2005/09/22/how-to-rename-local-development-component-projects-in-netweaver-developer-studio Rename webdynpro project </a>

Best Wishes,

Idhaya R

Former Member
0 Kudos

Hi,

Try changing project name in .project file and then import it with new name.Delete existing application and create new application.

As project is already deployed with the different name on the same server, you may get clusterwide exception, in that case rename the component as well.

Regards,

Apurva

Former Member
0 Kudos

Hi,

Renaming a projevt may not be possible.You can delete the application of your project and create a new application.

one way of renaming a project is

If your project name is "MyProject".Then go to the workspace and rename that folder to "MyNewProject".Now Create another new webdynpro project "MyNewProject" from the ide ine the same workspace.Then automatically all the components in the "MyProject" will come in "MyNewProject"

Edited by: Sudhir Gorantla on Jun 19, 2008 9:00 AM