Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Equinox p2 Metadata Generator/Example
If you need to (re)generate metadata for an existing udpate site, here's how:
cd /tmp/update-site-unpacked; rm -fr artifacts.jar content.jar; \ ~/eclipse/eclipse -vm /opt/jdk1.5.0/bin/java -workspace /tmp/workspace \ -application org.eclipse.equinox.p2.metadata.generator.EclipseGenerator \ -updateSite /tmp/update-site-unpacked/ \ -source /tmp/update-site-unpacked/ \ -site file:/tmp/update-site-unpacked/site.xml \ -features /tmp/update-site-unpacked/features/ \ -bundles /tmp/update-site-unpacked/bundles/ \ -metadataRepository file:/tmp/update-site-unpacked/ \ -artifactRepository file:/tmp/update-site-unpacked/ \ -metadataRepositoryName "My Update Site" \ -artifactRepositoryName "My Artifacts" \ -noDefaultIUs -compress -reusePack200Files; rm -fr /tmp/workspace