如何修改 OSGi 应用程序的 Eclipse 运行 配置类路径?
How to modify the Eclipse Run Configuration classpath for an OSGi application?
在 Eclipse Run/Debug 配置中有一个 'Classpath' 选项卡
'Java Application' 配置,但当它是 'OSGi Framework' 时则不会。
如何设置 OSGi 应用程序的类路径?
我自己找的
“设置”选项卡 > Bootstrap 个条目
Bootstrap Entries
By default, the only entry on the launch configuration classpath is
the ${target_home}/plugins/org.eclipse.equinox.launcher JAR. The
${target_home}/plugins/org.eclipse.equinox.launcher JAR file houses
the org.eclipse.equinox.launcher.Main class which contains the
bootstrap code. The ${target_home} variable refers to the location of
the target platform as specified on the Window > Preferences... >
Plug-in Development > Target Platform preference page.
The Bootstrap Entries field allows you to specify and append
additional locations to the classpath, if required.
在 Eclipse Run/Debug 配置中有一个 'Classpath' 选项卡 'Java Application' 配置,但当它是 'OSGi Framework' 时则不会。 如何设置 OSGi 应用程序的类路径?
我自己找的
“设置”选项卡 > Bootstrap 个条目
Bootstrap Entries
By default, the only entry on the launch configuration classpath is the ${target_home}/plugins/org.eclipse.equinox.launcher JAR. The ${target_home}/plugins/org.eclipse.equinox.launcher JAR file houses the org.eclipse.equinox.launcher.Main class which contains the bootstrap code. The ${target_home} variable refers to the location of the target platform as specified on the Window > Preferences... > Plug-in Development > Target Platform preference page.
The Bootstrap Entries field allows you to specify and append additional locations to the classpath, if required.