use of org.eclipse.equinox.p2.repository.artifact.IProcessingStepDescriptor in project tycho by eclipse.
the class LocalArtifactRepositoryP2APITest method localPackedDescriptorFor.
/**
* Returns a descriptor of the internally used {@link IArtifactDescriptor} type for the pack200
* format of the given key.
*/
private static IArtifactDescriptor localPackedDescriptorFor(IArtifactKey key) {
GAVArtifactDescriptor result = new GAVArtifactDescriptor(key);
result.setProcessingSteps(new IProcessingStepDescriptor[] { new ProcessingStepDescriptor("org.eclipse.equinox.p2.processing.Pack200Unpacker", null, true) });
result.setProperty(IArtifactDescriptor.FORMAT, IArtifactDescriptor.FORMAT_PACKED);
return result;
}
use of org.eclipse.equinox.p2.repository.artifact.IProcessingStepDescriptor in project tycho by eclipse.
the class ArtifactRepositoryTestUtils method packedDescriptorFor.
public static IArtifactDescriptor packedDescriptorFor(IArtifactKey key) {
ArtifactDescriptor result = new ArtifactDescriptor(key);
result.setProcessingSteps(new IProcessingStepDescriptor[] { new ProcessingStepDescriptor("org.eclipse.equinox.p2.processing.Pack200Unpacker", null, true) });
result.setProperty(IArtifactDescriptor.FORMAT, IArtifactDescriptor.FORMAT_PACKED);
return result;
}
Aggregations