1

我为 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
4

1 回答 1

0

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>
于 2012-01-26T13:08:40.053 回答