Skip to content

Instantly share code, notes, and snippets.

@jotak
Created August 22, 2014 14:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jotak/755402144a92b8a4bb0f to your computer and use it in GitHub Desktop.
Save jotak/755402144a92b8a4bb0f to your computer and use it in GitHub Desktop.
// The ultimate Eclipse guide. Should work after 10-15 iterations
while (!working) {
try {
servers.clean();
servers.deleteAll();
project.clean();
maven.clean();
eclipse.restart();
maven.install();
maven.update();
project.buildAll();
servers.create();
servers.clean();
working = servers.start();
} catch (StillNotWorkingException e) {
m2e-plugin.reinstall();
tomcat.reinstall();
os.restart();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment