Random thoughts from an unusual company

Really Useful Program Switches to cleanup Eclipse

Gabriella Davis  7 June 2010 14:57:46
Often when we have client side problems that leave us stymied we start by deleting / renaming the cache or desktop or bookmark but that got more difficult with the Eclipse environment where we often had to delete the entire \framework\rcp directory to start over clean.  If you want to recreate the Workspace and clear the Eclipse cache wtihout deleting files try this unofficial tip - it works beautifully it my testing and at my customers but ymmv.

Recreating the workspace will allow you to replace any corrupt Eclipse files that occurred during initial setup/installation.


Clear Workspace
From a DOS Prompt
Launch the command prompt and type in the following to recreate the workspace:

"{path to the Notes directory}" then use "{path to the Notes directory}:notes -RPARAMS -resetconfig

Clear Cache
From a DOS Prompt
"{path to the Notes directory}" then use "{path to the Notes directory}:notes -RPARAMS -clean.


Both of these commands will launch Notes and ask for the user password, they can't be run without user interaction but you could certainly create a shortcut or alternative shortcuts that launch Notes with cleanup or launch Notes with rebuild if you needed to.
Comments

1Jack Dausman  25/06/2010 22:08:46  Really Useful Program Switches to cleanup Eclipse

Geez, I have NO idea why no one has commented on this terrific tip. I've used it a couple of times as a "last resort" and it's done right. Works with OS X and Win (just haven't needed to try it on Linux, yet). Thanks !!

2Theo Aemmer  29/06/2010 09:55:14  Really Useful Program Switches to cleanup Eclipse

I tried it but without success. How do you add the path to notes.ini if it's not at its default place?

3Derek Catanzaro  30/07/2010 22:03:19  Really Useful Program Switches to cleanup Eclipse

I have used this tip numerous times and it has done the trick for me pretty much every time. The only issue I have run across from time to time is that if any of the notes processes are still running I have seen cases where the command doesn't execute. In those cases I pull up task manager and kill the notes procs and that resolves the issue.

Thanks for the great tip!!!