Jump to: navigation, search

Equinox p2 Metadata Generator/Example

< Equinox p2 Metadata Generator
Revision as of 11:31, 5 August 2009 by Nickboldt+bugzilla.gmail.com (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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