diff options
author | Tobias Oberlies | 2012-02-28 18:10:58 +0000 |
---|---|---|
committer | Tobias Oberlies | 2012-03-02 14:29:51 +0000 |
commit | 67105df97422275a005e73abbd9f825615a11fc9 (patch) | |
tree | b5a49589cafec10a996b713f345a2951cbaf6446 /bundles/org.eclipse.equinox.p2.publisher | |
parent | 7b4e0d6bfa12a5ec6e4bb91ab725118f05b9fb65 (diff) | |
download | rt.equinox.p2-67105df97422275a005e73abbd9f825615a11fc9.tar.gz rt.equinox.p2-67105df97422275a005e73abbd9f825615a11fc9.tar.xz rt.equinox.p2-67105df97422275a005e73abbd9f825615a11fc9.zip |
372788 Let artifact repository create ArtifactDescriptor instances
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.publisher')
-rw-r--r-- | bundles/org.eclipse.equinox.p2.publisher/src/org/eclipse/equinox/p2/publisher/AbstractPublisherAction.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.equinox.p2.publisher/src/org/eclipse/equinox/p2/publisher/AbstractPublisherAction.java b/bundles/org.eclipse.equinox.p2.publisher/src/org/eclipse/equinox/p2/publisher/AbstractPublisherAction.java index 09aa21b7b..8fa15b253 100644 --- a/bundles/org.eclipse.equinox.p2.publisher/src/org/eclipse/equinox/p2/publisher/AbstractPublisherAction.java +++ b/bundles/org.eclipse.equinox.p2.publisher/src/org/eclipse/equinox/p2/publisher/AbstractPublisherAction.java @@ -182,8 +182,8 @@ public abstract class AbstractPublisherAction implements IPublisherAction { } protected IArtifactDescriptor createPack200ArtifactDescriptor(IArtifactKey key, File pathOnDisk, String installSize) { + ArtifactDescriptor result = (ArtifactDescriptor) PublisherHelper.createArtifactDescriptor(info, key, pathOnDisk); //TODO this size calculation is bogus - ArtifactDescriptor result = new ArtifactDescriptor(key); if (pathOnDisk != null) { result.setProperty(IArtifactDescriptor.ARTIFACT_SIZE, installSize); // TODO - this is wrong but I'm testing a work-around for bug 205842 |