Search code examples
javaeclipsebuild-process

How do I configure eclipse to automatically refresh a project as part of it's build?


I have a maven plugin generating some code for eclipse to build, but I have to manually refresh the project before eclipse sees the code.

How can I make eclipse automatically refresh the project as part of the build?

I'm trying to use a custom builder, but it wants to run a command (which I don't need to do).


Solution

  • You can make eclipse automatically refresh your whole workspace: Window->Preferences->General->Workspace and check "Refresh automatically"