Is it possible to rename a java web project using Netbeans?

Asked

Viewed 800 times

1

Netbeans offers the option to rename a project, I’ve done this several times, including the project and its folder, and every time they’ve been successful. However they were Java SE projects, when I try to rename a Java web project I cannot.

When I try to rename the project an option window is opened called "Rename Project" and I mark the option "Rename Also Project Folder" but still the project is not renamed. If I uncheck the option it renames the project but not its folder.

I’ve searched the IDE documentation and some places on the internet and nothing! I tried renaming the project, but Netbeans opens the window I put the new name so it starts the process and then says that it cannot rename the project and displays a window with the error:

ERROR: Unable to rename TEST file on C: Users User Documents Netbeansprojects Teste_simplejspservletdb.

To rename the project I have to delete the old create a new one and copy the project files to the new project, this greatly decreases productivity! I wonder why this process is not successful! I think the Tomcat server keeps running while the IDE tries to rename the project, but I’m not sure.

  • netbeans renames the java web project but not the Project Folder it is in! To do this I have to close the IDE and rename it badly.

  • 1

    exact can manually renomar the folder name

  • That’s exactly what I wanted to avoid Skywalker!!

  • because @Wellington Lins?

  • Sometimes you have dozens of projects in the netbeans directory that are not open in the IDE, and to rename the project in question you can only do so with the IDE closed!! This makes you lose productivity!!

  • I don’t know, it’s not often we rename a project, so I don’t see it as losing productivity. If you don’t want to close the IDE, just right-click on the project name and have the option fechar, rename the folder name and have it open again by netbeans, so you do not close netbeans

  • Of course I know that this is not very common!! But sometimes I do it!! Very good tip thanks!!!! And it does not give trouble?

  • When I tried to do this with the ntebeans open it opens the old window saying that the action cannot be completed because the project is open in another program!!! Can?

  • But you did close the project in netbeans?

  • Yes, of course, yes sir!!!

  • Please do a test!!!

  • Here I was able to do everything by netbeans. I didn’t even need to rename manually. I was able to rename even with the server started

  • So my betbeans this buggy I was already suspecting!!! Does it happen because I work with two jdks 7 and 8?

  • Is your Skywalker release complete? Or is it one of those lighter versions?

  • Netbeans 8.0.2 Complete

Show 10 more comments
No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.