来源。< library>不考虑配置
我在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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您的
bin.ixludes
缺少。
for默认输出目录:Your
bin.includes
is missing.
for the default output directory: