Eclipse:如何移动.externalToolBuilders目录?

时间:2011-10-21 13:34:47

标签: eclipse ide external-tools

我为3个eclipse项目构建了一个小型外部工具构建器。 如何告诉eclipse使用项目目录的(共享)目录?

我发现eclipse将该设置存储在.project文件中。但似乎无法改变价值:

<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>

我绑定了值:

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

1 个答案:

答案 0 :(得分:0)

试试这个:

<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>