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.
– Pena Pintada
exact can manually renomar the folder name
– Skywalker
That’s exactly what I wanted to avoid Skywalker!!
– Pena Pintada
because @Wellington Lins?
– Skywalker
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!!
– Pena Pintada
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– Skywalker
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?
– Pena Pintada
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?
– Pena Pintada
But you did close the project in netbeans?
– Skywalker
Yes, of course, yes sir!!!
– Pena Pintada
Please do a test!!!
– Pena Pintada
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
– Skywalker
So my betbeans this buggy I was already suspecting!!! Does it happen because I work with two jdks 7 and 8?
– Pena Pintada
Is your Skywalker release complete? Or is it one of those lighter versions?
– Pena Pintada
Netbeans 8.0.2 Complete
– Skywalker