Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] "unpack" third party bundles during materialize-products

On Mon, Apr 30, 2012 at 12:32 PM, Barrie Treloar <baerrach@xxxxxxxxx> wrote:
> I can't find the answer, via google or the wiki.

Looking at the code.

org.eclipse.sisu.equinox.launching.internal.DefaultEquinoxInstallationFactory.createInstallation()
is the one that will create the config.ini for us.
And based on
            boolean directoryShape =
bundlesToExplode.contains(key.getId()) || mf.isDirectoryShape();
will unpack the bundle.
where
        Set<String> bundlesToExplode = description.getBundlesToExplode();
And the only way to modify this value is via addBundlesToExplode() and
its only used in a test class.

So I guess my options are:
1) re-pack my bundles with the correct property in the manifest
2) hack DirectorMojo (materialize-products) but since this a wrapper
to http://help.eclipse.org/indigo/index.jsp?topic=/org.eclipse.platform.doc.isv/guide/p2_director.html
stuff I guess its back to 1)


Back to the top