Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsliebig2007-11-30 12:38:58 +0000
committersliebig2007-11-30 12:38:58 +0000
commitcdc0ea85411d9193efaf96e72e61bf19cadc9992 (patch)
tree46aaa82a9e8960c031e2db2d367e9fa8b309601a /bundles/org.eclipse.equinox.p2.artifact.repository/src/org/eclipse/equinox/internal/p2
parent681813a96a9f3343a52035d95c182069e025d88f (diff)
downloadrt.equinox.p2-cdc0ea85411d9193efaf96e72e61bf19cadc9992.tar.gz
rt.equinox.p2-cdc0ea85411d9193efaf96e72e61bf19cadc9992.tar.xz
rt.equinox.p2-cdc0ea85411d9193efaf96e72e61bf19cadc9992.zip
reflect interface change within IArtifactRepository (bug: 210475)
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.artifact.repository/src/org/eclipse/equinox/internal/p2')
-rw-r--r--bundles/org.eclipse.equinox.p2.artifact.repository/src/org/eclipse/equinox/internal/p2/artifact/mirror/Mirror.java3
-rw-r--r--bundles/org.eclipse.equinox.p2.artifact.repository/src/org/eclipse/equinox/internal/p2/artifact/repository/MirrorRequest.java2
2 files changed, 3 insertions, 2 deletions
diff --git a/bundles/org.eclipse.equinox.p2.artifact.repository/src/org/eclipse/equinox/internal/p2/artifact/mirror/Mirror.java b/bundles/org.eclipse.equinox.p2.artifact.repository/src/org/eclipse/equinox/internal/p2/artifact/mirror/Mirror.java
index b954fb99a..ba30c7fc2 100644
--- a/bundles/org.eclipse.equinox.p2.artifact.repository/src/org/eclipse/equinox/internal/p2/artifact/mirror/Mirror.java
+++ b/bundles/org.eclipse.equinox.p2.artifact.repository/src/org/eclipse/equinox/internal/p2/artifact/mirror/Mirror.java
@@ -43,7 +43,7 @@ public class Mirror {
OutputStream repositoryStream = null;
try {
System.out.println("Mirroring: " + descriptor.getArtifactKey()); //$NON-NLS-1$
- repositoryStream = destination.getOutputStream(newDescriptor);
+ repositoryStream = destination.getOutputStream(newDescriptor, null);
if (repositoryStream == null)
return;
source.getArtifact(descriptor, repositoryStream, new NullProgressMonitor());
@@ -56,4 +56,5 @@ public class Mirror {
e.printStackTrace();
}
}
+
}
diff --git a/bundles/org.eclipse.equinox.p2.artifact.repository/src/org/eclipse/equinox/internal/p2/artifact/repository/MirrorRequest.java b/bundles/org.eclipse.equinox.p2.artifact.repository/src/org/eclipse/equinox/internal/p2/artifact/repository/MirrorRequest.java
index 896a91ee0..cc2c4ce18 100644
--- a/bundles/org.eclipse.equinox.p2.artifact.repository/src/org/eclipse/equinox/internal/p2/artifact/repository/MirrorRequest.java
+++ b/bundles/org.eclipse.equinox.p2.artifact.repository/src/org/eclipse/equinox/internal/p2/artifact/repository/MirrorRequest.java
@@ -88,7 +88,7 @@ public class MirrorRequest extends ArtifactRequest {
if (targetDescriptorProperties != null)
destinationDescriptor.addProperties(targetDescriptorProperties);
- OutputStream destination = target.getOutputStream(destinationDescriptor);
+ OutputStream destination = target.getOutputStream(destinationDescriptor, this);
if (destination == null) {
setResult(new Status(IStatus.ERROR, Activator.ID, "Can't get an output stream to " + target + " to store " + getArtifactKey()));
return;

Back to the top