无头构建应包含所有依赖项
我有一个由我想要构建的几个插件组成的产品。我想要的最终结果是一个包含所有 jar 文件和依赖项的 zip 文件,即 org.eclipse.swt.X.jar、org.eclipse.ui.Y.jar code> 等。
它正在构建和压缩,但我只得到我的插件,而不是依赖项。我猜测有一个参数或 XML 属性可以设置这个,如果是的话,是什么以及在哪里?
目前我只修改了 build.xml、build.properties 和 allElements.xml。其余的构建文件(如果使用的话)是 Eclipse 3.4.1 模板。
构建正在从 Eclipse 3.3 更新到 3.4.1,所以我猜测这可能是问题的根源。
I have a product consisting of several plugins that I want to build. The endresult I want is a zipfile containing all my jar files AND the dependencies I have, i.e org.eclipse.swt.X.jar
, org.eclipse.ui.Y.jar
etc.
It's building and zipping ok but I only get my plugins, not the dependencies. I'm guessing there is a parameter or XML attribute that sets this, if so what and where?
At the moment I have only modified build.xml, build.properties and allElements.xml. The rest of the build files (if they are used) are the Eclipse 3.4.1 templates.
The build is being update from Eclipse 3.3 to 3.4.1, so I'm guessing that could be the root of the issue.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果有人遇到同样的问题并发现这个问题,对我来说,问题是通过设置参数解决的:
对于要构建的所有目标。这可以在 build.properties 或 build.xml 文件中设置
In case anyone has the same problem and finds this question, for me the problem was solved by setting the parameters:
for all targets to build. This can be set either in the build.properties or in the build.xml file