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!
Enabling 'refresh the entire workspace upon completion' in Builders > Edit > Refresh doesn't create this infinite loop.