【问题标题】:How to modify the Eclipse Run Configuration classpath for an OSGi application?如何修改 OSGi 应用程序的 Eclipse 运行配置类路径?
【发布时间】:2017-04-12 12:54:11
【问题描述】:

在 Eclipse 运行/调试配置中,有一个“类路径”选项卡 一个“Java 应用程序”配置,但当它是一个“OSGi 框架”时,它不会。 如何为 OSGi 应用程序设置类路径?

【问题讨论】:

    标签: java eclipse osgi


    【解决方案1】:

    我自己找到的。

    设置选项卡 > 引导条目

    发件人:Eclipse documentation

    引导条目

    默认情况下,启动配置类路径上的唯一条目是 ${target_home}/plugins/org.eclipse.equinox.launcher JAR。这 ${target_home}/plugins/org.eclipse.equinox.launcher JAR 文件库 org.eclipse.equinox.launcher.Main 类,其中包含 引导代码。 ${target_home} 变量指的是 在 Window > Preferences... > 中指定的目标平台 插件开发 > 目标平台首选项页面。

    Bootstrap Entries 字段允许您指定和附加 如果需要,类路径的其他位置。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2012-08-13
      • 1970-01-01
      • 1970-01-01
      • 2011-06-24
      • 2012-06-02
      • 2013-03-28
      • 1970-01-01
      • 2012-05-14
      相关资源
      最近更新 更多