anothercoder
anothercoder

Reputation: 1449

Remove "Project Specific Settings" for all projects in an Eclipse workspace at once?

I have a workspace that contains at least 30 individual Eclipse "project" folders. I need to remove the Java Compiler->Project Specific Settings for every project in the workspace.

Thus far, I have been manually going to each project, opening its properties and unchecking the "Enable project specific settings" box and applying my changes. This takes ages. I'm looking for a way to globally uncheck that box for all projects in my workspace.

Does anyone know how to do this?

Upvotes: 9

Views: 7178

Answers (1)

eckes
eckes

Reputation: 10433

I don't think Eclipse offer a UI for that, but you can simply delete the settings file (with or without closing Eclipse first)

cd /workspace/
rm */.settings/org.eclipse.jdt.core.prefs

For doing some automation in this area, the preference recorder and workspace mechanics might be a solution.

Upvotes: 5

Related Questions