Michiel Meulendijk
Michiel Meulendijk

Reputation: 355

Eclipse - exclude file / folder from triggering workspace refresh after build

I have a custom builder (batch file) in my Eclipse project that increments the build number and outputs it in a text file in the workspace. This works fine when I build manually. But when automatic building is enabled, the updated build-number file causes Eclipse to refresh the workspace and start a new build, leading to an infinite loop of building.

How can I exclude this build-number file from triggering a rebuild? It's in the WebContent folder, so it's not part of the build path. I've tried the exclusion options I could find, but to no avail.

Thanks!

Upvotes: 1

Views: 832

Answers (1)

Michiel Meulendijk
Michiel Meulendijk

Reputation: 355

Enabling 'refresh the entire workspace upon completion' in Builders > Edit > Refresh doesn't create this infinite loop.

Upvotes: 0

Related Questions