Class PublishProductToolImpl
- java.lang.Object
-
- org.eclipse.tycho.p2.tools.publisher.PublishProductToolImpl
-
- All Implemented Interfaces:
PublishProductTool
public class PublishProductToolImpl extends Object implements PublishProductTool
Tool for transforming product definition source files into p2 metadata and artifacts. Includes more steps than classic publisher would do, e.g. qualifier expansion.
-
-
Constructor Summary
Constructors Constructor Description PublishProductToolImpl(org.eclipse.tycho.p2.tools.publisher.PublisherActionRunner publisherRunner, PublishingRepository publishingRepository, P2TargetPlatform targetPlatform, String buildQualifier, Interpolator interpolator, MavenLogger logger)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<DependencySeed>
publishProduct(File productFile, File launcherBinaries, String flavor)
Publishes the given product definition.
-
-
-
Constructor Detail
-
PublishProductToolImpl
public PublishProductToolImpl(org.eclipse.tycho.p2.tools.publisher.PublisherActionRunner publisherRunner, PublishingRepository publishingRepository, P2TargetPlatform targetPlatform, String buildQualifier, Interpolator interpolator, MavenLogger logger)
-
-
Method Detail
-
publishProduct
public List<DependencySeed> publishProduct(File productFile, File launcherBinaries, String flavor) throws IllegalArgumentException
Description copied from interface:PublishProductTool
Publishes the given product definition.- Specified by:
publishProduct
in interfacePublishProductTool
- Parameters:
productFile
- A .product file as defined by the Eclipse PDElauncherBinaries
- A folder that contains the native Eclipse launcher binariesflavor
- The installation flavor the product shall be published for- Returns:
- a handles to the published product IU
- Throws:
IllegalArgumentException
-
-