productBuild.xml and optional dependencies [message #854708] |
Tue, 24 April 2012 07:06 |
Frank Grimm Messages: 22 Registered: July 2009 |
Junior Member |
|
|
Hi all,
I've got a question regarding optional dependencies and headless PDE
product export...
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
org.eclipse.pde.build_3.6.2.R36x_20110203/scripts/productBuild/productBuild.xml.
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
editor).
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=338878 (and
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
"includeOptional" attribute:
<p2.mirror>
<slicingOptions includeNonGreedy="false" />
...
</p2.mirror>
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,
Frank
|
|
|
Powered by
FUDForum. Page generated in 0.03967 seconds