Eclipse: How to move the .externalToolBuilders directory?

3k views Asked by At

I have built a small External Tool Builders for 3 eclipse projects. How can I tell eclipse to use a (shared) directory outsite of the project directory?

I figgerd out that eclipse stores that settings in the .project file. But it seems that it is not possible to change the value:

<buildCommand>
    <name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
    <arguments>
        <dictionary>
            <key>LaunchConfigHandle</key>
            <value>&lt;project&gt;/.externalToolBuilders/do cleanup.launch</value>
        </dictionary>
    </arguments>
</buildCommand>

I tied the values:

  • &lt;project&gt;/../MyUtils/ExternalToolBuilders/do cleanup.launch
  • ../MyUtils/ExternalToolBuilders/do cleanup.launch
  • x:/full/path/to/file/do cleanup.launch
1

There are 1 answers

0
Martin Ždila On BEST ANSWER

Try this:

<dictionary>
    <key>LaunchConfigHandle</key>
    <value>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&lt;launchConfiguration local=&quot;false&quot; path=&quot;/MyUtils/ExternalToolBuilders/docleanup.launch&quot;/&gt;</value>
</dictionary>