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.

lördag 18 augusti 2012

Eclipse Juno on CentOS 6.3

When I tried to upgrade to the new Eclipse Juno release. The program died due to some incompatibility in xulrunner. The problem was solved by using webkit for rendering instead.  After installing the webkitgtk package eclipse started just fine.