Skip to content

Instantly share code, notes, and snippets.

@dbaba
Last active August 29, 2015 14:00
Show Gist options
  • Save dbaba/11173375 to your computer and use it in GitHub Desktop.
Save dbaba/11173375 to your computer and use it in GitHub Desktop.
#!/bin/sh
# a resolution to the eclipse hanging issue
# http://stackoverflow.com/questions/8972034/eclipse-hangs-on-loading-workbench
# modify here as you like.
ECLIPSE_WS=$HOME/Documents/workspace
rm -f $ECLIPSE_WS/.metadata/.lock
rm -f $ECLIPSE_WS/.metadata/.plugins/org.eclipse.core.resources/.snap
# http://stackoverflow.com/a/12045547
rm -f $ECLIPSE_WS/.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment