<i id='SE0t4'><tr id='SE0t4'><dt id='SE0t4'><q id='SE0t4'><span id='SE0t4'><b id='SE0t4'><form id='SE0t4'><ins id='SE0t4'></ins><ul id='SE0t4'></ul><sub id='SE0t4'></sub></form><legend id='SE0t4'></legend><bdo id='SE0t4'><pre id='SE0t4'><center id='SE0t4'></center></pre></bdo></b><th id='SE0t4'></th></span></q></dt></tr></i><div id='SE0t4'><tfoot id='SE0t4'></tfoot><dl id='SE0t4'><fieldset id='SE0t4'></fieldset></dl></div>
    <tfoot id='SE0t4'></tfoot>
  • <legend id='SE0t4'><style id='SE0t4'><dir id='SE0t4'><q id='SE0t4'></q></dir></style></legend>
  • <small id='SE0t4'></small><noframes id='SE0t4'>

        <bdo id='SE0t4'></bdo><ul id='SE0t4'></ul>

        将 3rd 方库添加到 Eclipse 插件

        时间:2023-08-21
          <bdo id='RADdy'></bdo><ul id='RADdy'></ul>

          <small id='RADdy'></small><noframes id='RADdy'>

                <tbody id='RADdy'></tbody>
            • <i id='RADdy'><tr id='RADdy'><dt id='RADdy'><q id='RADdy'><span id='RADdy'><b id='RADdy'><form id='RADdy'><ins id='RADdy'></ins><ul id='RADdy'></ul><sub id='RADdy'></sub></form><legend id='RADdy'></legend><bdo id='RADdy'><pre id='RADdy'><center id='RADdy'></center></pre></bdo></b><th id='RADdy'></th></span></q></dt></tr></i><div id='RADdy'><tfoot id='RADdy'></tfoot><dl id='RADdy'><fieldset id='RADdy'></fieldset></dl></div>
              <legend id='RADdy'><style id='RADdy'><dir id='RADdy'><q id='RADdy'></q></dir></style></legend>
              • <tfoot id='RADdy'></tfoot>

                  本文介绍了将 3rd 方库添加到 Eclipse 插件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  在 Eclipse 插件中包含附加 JAR 文件的正确方法是什么?我自己的插件需要 apache-commons-io.我将 JAR 复制到我的插件目录中,并通过插件清单的依赖项"选项卡添加它.这对我有用,但我插件的其他用户必须手动下载 Commons-IO.

                  What is the right way to include an additional JAR file in an Eclipse plugin? My own plugin requires apache-commons-io. I copied the JAR into my plugins directory and added it via the "Dependencies" tab of the plugin manifest. This works for me, but other users of my plugins will have to download Commons-IO manually.

                  在我的插件中打包 Commons-IO 的正确方法是什么?

                  What is the correct way to package Commons-IO in my plugin?

                  推荐答案

                  我通常使用以下策略:

                  • 如果我可以找到打包为捆绑包的问题 JAR - 即 MANIFEST.MF 包含正确的条目 - 然后我使用它.查看 Orbit 项目 了解一组预打包的各种捆绑包.org.apache.commons.io 已经在这里了...
                  • 如果这不可能,那么我只需将 JAR 包含在我的包中,然后更新 MANIFEST.MF - 例如Bundle-ClassPath: library.jar,.
                  • If I can find the JAR in question packaged as a bundle - i.e. the MANIFEST.MF contains the correct entries - then I use this. Have a look at the Orbit project for a set of pre-packaged bundles of all sorts. org.apache.commons.io is already here...
                  • If that is not possible, then I just include the JAR in my bundle, and updates MANIFEST.MF - e.g. Bundle-ClassPath: library.jar,.

                  这篇关于将 3rd 方库添加到 Eclipse 插件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:eclipse手动代码折叠类似于visual studio region 下一篇:Eclipse 的最佳 UML 插件

                  相关文章

                  <i id='tw3UT'><tr id='tw3UT'><dt id='tw3UT'><q id='tw3UT'><span id='tw3UT'><b id='tw3UT'><form id='tw3UT'><ins id='tw3UT'></ins><ul id='tw3UT'></ul><sub id='tw3UT'></sub></form><legend id='tw3UT'></legend><bdo id='tw3UT'><pre id='tw3UT'><center id='tw3UT'></center></pre></bdo></b><th id='tw3UT'></th></span></q></dt></tr></i><div id='tw3UT'><tfoot id='tw3UT'></tfoot><dl id='tw3UT'><fieldset id='tw3UT'></fieldset></dl></div>

                  1. <legend id='tw3UT'><style id='tw3UT'><dir id='tw3UT'><q id='tw3UT'></q></dir></style></legend>

                      <bdo id='tw3UT'></bdo><ul id='tw3UT'></ul>

                      <tfoot id='tw3UT'></tfoot>

                      <small id='tw3UT'></small><noframes id='tw3UT'>