Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » productBuild.xml and optional dependencies
productBuild.xml and optional dependencies [message #854708] Tue, 24 April 2012 07:06
Frank Grimm is currently offline Frank GrimmFriend
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

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 (and 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 "" ant script
which gets generated during the product export does not reflect the
"includeOptional" attribute:

<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,

Previous Topic:Getting position (Point) of text cursor in editor
Next Topic:Sharing built plugins among multiple products
Goto Forum:

Current Time: Mon May 21 13:16:03 GMT 2018

Powered by FUDForum. Page generated in 0.01297 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top