|productBuild.xml and optional dependencies [message #854708]
||Tue, 24 April 2012 07:06
| Frank Grimm
Registered: July 2009
I've got a question regarding optional dependencies and headless PDE
I'm exporting a product by means of headless PDE build (Eclipse 3.6.2,
Windows) using the org.eclipse.ant.core.antRunner Eclipse application in
combination with a small buildfile which triggers
The product export works fine. But the product contains additional
plugins (e.g., org.mortbay.jetty.server) which are not included when the
product is manually export (via the export dialog in the PDE product
I believe that the additional plugins are included in the product
because the product export includes optional dependencies.
A google search pointed me to
https://bugs.eclipse.org/bugs/show_bug.cgi?id=313334). From there I
gather that the "p2.mirror" ant task's "slicingOptions" element should
have its "p2.mirror.slicing.includeOptional" attribute set to "false".
So I added "p2.mirror.slicing.includeOptional=false" to the properties
file which is used by the buildfile (i.e., to the properties file
defining which product to export, for which platform etc.).
But the "assemble.org.eclipse.pde.build.container.feature.p2" ant script
which gets generated during the product export does not reflect the
<slicingOptions includeNonGreedy="false" />
So, I'm wondering whether p2.mirror.slicing.includeOptional is the
correct property and whether it is actually supported for product
exports (i.e., does productBuild/productBuild.xml allow to exclude
optional dependencies from a product)?
Many thanks in advance,
Powered by FUDForum
. Page generated in 0.10099 seconds