Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 317598

Summary: Delete extra createArtifactDescriptor method on PublisherHelper
Product: [Eclipse Project] Equinox Reporter: John Arthorne <john.arthorne>
Component: p2Assignee: John Arthorne <john.arthorne>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: aniefer
Version: 3.6   
Target Milestone: 3.7 M3   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Patch for PDE build none

Description John Arthorne CLA 2010-06-22 10:59:47 EDT
PublisherHelper has a method:

public static IArtifactDescriptor createArtifactDescriptor(IArtifactRepository artifactRepo, IArtifactKey key, File pathOnDisk) {

This is replaced by a more powerful method that passes in the IPublisherInfo rather than just the repository. This allows it to honour IPublisherInfo option settings while creating the artifact.

References to the old method should switch to use the new method. Then the old method can be deleted.
Comment 1 John Arthorne CLA 2010-06-22 11:01:10 EDT
Created attachment 172424 [details]
Patch for PDE build

Andrew can you release this patch for PDE build?
Comment 2 Andrew Niefer CLA 2010-06-22 17:28:02 EDT
ok patch is released to build.
Comment 3 John Arthorne CLA 2010-09-01 15:39:13 EDT
Released.
Comment 4 DJ Houghton CLA 2010-09-16 12:18:32 EDT
There was a problem with tagging HEAD so this fix won't appear in integration builds until the first build after 3.7 M2.