Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Equinox p2 Metadata Generator/Example"
m (New page: If you need to (re)generate metadata for an existing udpate site, here's how: <source>cd /tmp/update-site-unpacked; rm -fr artifacts.jar content.jar; \ ~/eclipse/eclipse -vm /opt/jdk1.5.0...) |
|||
Line 1: | Line 1: | ||
If you need to (re)generate metadata for an existing udpate site, here's how: | If you need to (re)generate metadata for an existing udpate site, here's how: | ||
− | <source>cd /tmp/update-site-unpacked; rm -fr artifacts.jar content.jar; \ | + | <source lang="bash">cd /tmp/update-site-unpacked; rm -fr artifacts.jar content.jar; \ |
~/eclipse/eclipse -vm /opt/jdk1.5.0/bin/java -workspace /tmp/workspace \ | ~/eclipse/eclipse -vm /opt/jdk1.5.0/bin/java -workspace /tmp/workspace \ | ||
-application org.eclipse.equinox.p2.metadata.generator.EclipseGenerator \ | -application org.eclipse.equinox.p2.metadata.generator.EclipseGenerator \ |
Latest revision as of 12:31, 5 August 2009
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