xenRootIU.setTouchpointType(PublisherHelper.TOUCHPOINT_NATIVE);
ITouchpointData tpd = MetadataFactory.createTouchpointData(touchpointData);
xenRootIU.addTouchpointData(tpd);
ArtifactKey xen_image = new ArtifactKey(PublisherHelper.BINARY_ARTIFACT_CLASSIFIER, filename, Version.create("1.0.0"));
xenRootIU.setArtifacts(new IArtifactKey[] {xen_image});
File f = new File(repofiles + filename);
IArtifactDescriptor ad = PublisherHelper.createArtifactDescriptor(xen_image, f);
publishArtifact(ad, f, publisherInfo);
createSelfCapability = PublisherHelper.createSelfCapability(xenRootIU.getId(), xenRootIU.getVersion());
xenRootIU.setCapabilities(new IProvidedCapability[] {createSelfCapability});
RequiredCapability vm = new RequiredCapability(PublisherHelper.IU_NAMESPACE, "org.example.xenVM", new VersionRange(Version.create("0.0.0"), true, Version.create("9.9.9"), true), "", false, false);
xenRootIU.setRequiredCapabilities(new IRequiredCapability[] {vm});
ITouchpointData vm_touchpoint = MetadataFactory.createTouchpointData(Collections.EMPTY_MAP);
xenRootIU.addTouchpointData(vm_touchpoint);
results.addIU(makeJVM(publisherInfo), IPublisherResult.NON_ROOT);
results.addIU(makeInstallYourApp(publisherInfo), IPublisherResult.NON_ROOT);
results.addIU(MetadataFactory.createInstallableUnit(vmIU), IPublisherResult.NON_ROOT);