söndag 19 augusti 2012

How to fix undeletable Netbeans projects

I had web application project in Netbeans that I wanted to delete, and replace with a new project with the same name. Everyting worked fine until I tried to deploy it to glassfish. Then it failed. It looked like it was missing some session bean classes used for a REST interface  from the earlier deleted project with the same name.  I used diff and other tools to find the now missing classes, but they where nowhere to bi found. So, what to do. I could of course have renamed it but I didn't want to do that.

The solution was to create a new project with the same name but in a different folder, and then export it to zip, and then import it back in the original directory.

Inga kommentarer:

Skicka en kommentar