[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [p2-dev] p2 metadata generator does not generate artifact entries for packed jars if unpacked jar not present too

> Does p2 metadata generator work with packed jars (where the unpacked jar
> does not exist) ?

No. Neither the metadata generator nor the publisher supports the generation of metadata from packed jar. This would require the generation process to unpack the jar and process them.

> I've been trying to take an update site (not zipped), mix in (unzip into
> same location) another update site zip's contents (feature jars and
> packed plugin jars), then generate combined metadata for the whole
> aggregate site.

If the original update site (the one for which you have the pack'ed jars) already contains metadata, reuse the initial repository as a starting point to generate the new metadata (see -append flag).

> (The idea is to take the output of multiple builds and merge them into a
> single update site zip.)

The mirroring tool would do that: http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse.platform.doc.isv/guide/p2_mirror.html

> Generation of metadata works for the features (since they're unpacked
> jars) but I don't get artifact entries for the plugins.
> And because the metadata is incomplete, using p2.director to install
> from the resulting update site FAILS because the features reference
> plugins (which are present but not digested in the artifacts.xml).
> Is this a bug? Should I be using something newer than the metadata
> generator (eg., one of the publishers) ?
> --
> Nick Boldt :: http://nick.divbyzero.com
> Release Engineer :: Eclipse Modeling & Dash Athena
> _______________________________________________
> p2-dev mailing list
> p2-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/p2-dev