来源。< library>不考虑配置

发布于 2025-02-08 07:39:29 字数 403 浏览 4 评论 0原文

我在RCP应用程序中创建了一个新插件。我正在使用Maven将其构建为Eclipse-Plugin。我在build.properties中添加了以下插件特定属性。

bin.includes = META-INF/,\
               OSGI-INF/,\
               resources/
javacProjectSettings = true
javacDefaultEncoding.. = UTF-8
jars.compile.order = .
source.. = src/
output.. = bin/

但是这些源未编译,也不包含在生成的插件中。因此,我在RCP中找不到课堂。在其他插件中也使用源。= SRC/属性,在其中编译了来源并成功包含在生成的插件中。 我不确定我错过了什么。

I have created a new plugin in my RCP application. I am building this as eclipse-plugin using maven. I have added the following Plug-in specific property in build.properties.

bin.includes = META-INF/,\
               OSGI-INF/,\
               resources/
javacProjectSettings = true
javacDefaultEncoding.. = UTF-8
jars.compile.order = .
source.. = src/
output.. = bin/

But the sources are not compiled and not include in the generated plugin. Because of this, I am getting class not found exception in RCP. In other plugins also using source.. = src/ property where the sources are compiled and included in generated plugin successfully.
I am not sure what I have missed.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

阳光的暖冬 2025-02-15 07:39:29

您的bin.ixludes缺少 for默认输出目录:

bin.includes = META-INF/,\
               OSGI-INF/,\
               .,\
               resources/

Your bin.includes is missing . for the default output directory:

bin.includes = META-INF/,\
               OSGI-INF/,\
               .,\
               resources/
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文