This question is similar to Integrate Ant builder into Eclipse: Error "Variable references empty selection", but asks for something different.
In my Eclipse JDT project, I have some ant tasks that I want to execute before compilation, so I added an ant builder to my Eclipse builder config. Now I want to configure the two options "refresh resources upon completion" and "working set of relevant resources" for this builder so that they contain a specific directory in my project.
Both allow me to specify a "working set" with this dialogue. The problem is that this will put paths in the Eclipse builder configuration file that are relevant to the workspace, and thus the paths will include project names.
The problem is that the whole project is managed in a subversion repository. The Eclipse configuration is part of the repository, and other users check this out with different file-system layouts and possibly different Eclipse project names. For example, I usually have several working copies of the same project in my Eclipse workspace, each of course with a different project name.
That's why I am looking for a way how to specify a working set in Eclipse relative to the project directory (not the workspace directory), or some other way to define the refresh scope of a builder such that it includes a single directory in my project.
I am using Eclipse 3.7 (Indigo).
If I configure the working set in the dialogue and look in the configuration file afterwards, the following string is the value of the ATTR_REFRESH_SCOPE option:
${working_set:
<?xml version="1.0" encoding="U