Examples of ITouchpointData


Examples of org.eclipse.equinox.internal.provisional.p2.metadata.ITouchpointData

       
   
   
   
    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);
View Full Code Here

Examples of org.eclipse.equinox.internal.provisional.p2.metadata.ITouchpointData

    jvmIU.setTouchpointType(PublisherHelper.TOUCHPOINT_NATIVE);
      Map<String, String> touchpointData = new HashMap<String, String>(7);
    touchpointData.put("collect", "collect();");
    touchpointData.put("install", installInstructions);

    ITouchpointData tpd = MetadataFactory.createTouchpointData(touchpointData);
    jvmIU.addTouchpointData(tpd);

    ArtifactKey jvm_rpm = new ArtifactKey(PublisherHelper.BINARY_ARTIFACT_CLASSIFIER, filename , Version.create("1.0.0"));
    jvmIU.setArtifacts(new IArtifactKey[] {jvm_rpm});
   
View Full Code Here

Examples of org.eclipse.equinox.internal.provisional.p2.metadata.ITouchpointData

    yourAppIU.setTouchpointType(PublisherHelper.TOUCHPOINT_NATIVE);
    Map<String, String> touchpointData = new HashMap<String, String>(7);
    touchpointData.put("collect", "collect();");
    touchpointData.put("install", installInstructions);
   
    ITouchpointData tpd = MetadataFactory.createTouchpointData(touchpointData);
    yourAppIU.addTouchpointData(tpd);
   
    //ArtifactKey jvm_rpm = new ArtifactKey(PublisherHelper.BINARY_ARTIFACT_CLASSIFIER, filename , Version.create("1.0.0"));
    //jvmIU.setArtifacts(new IArtifactKey[] {jvm_rpm});
   
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.