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"
Line 3: | Line 3: | ||
= Generator Application = | = Generator Application = | ||
− | The generator application is contained in bundle org.eclipse.equinox.p2.metadata.generator. This bundle is part of the Eclipse SDK, and is also available in the p2 [[Equinox p2 Getting Started Admin UI|Admin UI]]. | + | The generator application is contained in bundle org.eclipse.equinox.p2.metadata.generator. This bundle is part of the Eclipse SDK, and is also available in the p2 [[Equinox p2 Getting Started Admin UI|Admin UI]]. The generator can be invoked using the generic Eclipse launcher as follows: |
+ | |||
+ | eclipse -application org.eclipse.equinox.p2.metadata.generator.EclipseGenerator <generatorArgs> | ||
+ | |||
+ | == Arguments describing the input == | ||
− | |||
* -source the path to a folder containing plugins and folders | * -source the path to a folder containing plugins and folders | ||
* -updateSite | * -updateSite | ||
* -config | * -config | ||
− | * -exe | + | * -exe |
* -launcherConfig | * -launcherConfig | ||
* -features | * -features | ||
Line 16: | Line 19: | ||
* -p2.os | * -p2.os | ||
* -site | * -site | ||
− | == | + | == Arguments describing the output == |
+ | |||
* -metadataRepository, the URL to a writtable metadata repository that will contain the produced installable units | * -metadataRepository, the URL to a writtable metadata repository that will contain the produced installable units | ||
* -metadataRepositoryName, a user friendly name for the metadata repository | * -metadataRepositoryName, a user friendly name for the metadata repository | ||
Line 31: | Line 35: | ||
* -inplace | * -inplace | ||
* -noDefaultIUs | * -noDefaultIUs | ||
− | * -compress | + | * -compress cause the repositories to store their index in compressed form |
* -reusePack200Files publish the existing pack200 files in the repository. This works when the artifact repo is generated in the source. | * -reusePack200Files publish the existing pack200 files in the repository. This works when the artifact repo is generated in the source. | ||
+ | |||
+ | :word;definition | ||
= Generator Ant Task = | = Generator Ant Task = |
Revision as of 23:51, 30 March 2008
The p2 metadata generator is a utility tool that generates metadata and artifact repositories from a given input. The generator is available both as an Eclipse application, and as an Ant task.
Contents
Generator Application
The generator application is contained in bundle org.eclipse.equinox.p2.metadata.generator. This bundle is part of the Eclipse SDK, and is also available in the p2 Admin UI. The generator can be invoked using the generic Eclipse launcher as follows:
eclipse -application org.eclipse.equinox.p2.metadata.generator.EclipseGenerator <generatorArgs>
Arguments describing the input
- -source the path to a folder containing plugins and folders
- -updateSite
- -config
- -exe
- -launcherConfig
- -features
- -bundles
- -base
- -p2.os
- -site
Arguments describing the output
- -metadataRepository, the URL to a writtable metadata repository that will contain the produced installable units
- -metadataRepositoryName, a user friendly name for the metadata repository
- -artifactRepository, the URL to a writtable artifact repository that will contain the produced artifacts
- -artifactRepositoryName, a user friendly name for the artifact repository
- -publishArtifacts, flag indicating whether the artifacts should be published to the repository. When this flag is not set, the actual bytes underlying the artifact will not be copied, but the repository index will be created. When this option is not specified, it is recommended to set the artifactRepository to be in the same location than the source (-source)
- -publishArtifactRepository
- -append, flag indicating that repositories will be appended to
- -root The name of the IU referring to all the IUs that have been added to the repo during the run.
- -rootVersion The version of the IU
- -flavor, the flavor associated with the configuration units generated. (This will be removed for 1.0)
- -inplace
- -noDefaultIUs
- -compress cause the repositories to store their index in compressed form
- -reusePack200Files publish the existing pack200 files in the repository. This works when the artifact repo is generated in the source.
- word;definition