开发者

Headless build should include all dependencies

开发者 https://www.devze.com 2022-12-21 10:41 出处:网络
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 dependenc开发者_JAVA百科ies I have, i.e org.eclipse.swt.X.jar

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 dependenc开发者_JAVA百科ies 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.


In case anyone has the same problem and finds this question, for me the problem was solved by setting the parameters:

  <param name="topLevelElementType" value="product"/>    
  <param name="topLevelElementId" value="(productid)"/>

for all targets to build. This can be set either in the build.properties or in the build.xml file

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号