Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Niefer2010-02-26 10:19:16 -0500
committerAndrew Niefer2010-02-26 10:19:16 -0500
commit3328c174483daac28c1be073b1591ebdd8d974f7 (patch)
tree1bd100be7ce2e999a42f77e4042a861f4c89f704 /bundles/org.eclipse.equinox.p2.repository.tools/src_ant/org/eclipse
parente71a591de427fe7be2b7defb34dc3b683c8d6163 (diff)
downloadrt.equinox.p2-3328c174483daac28c1be073b1591ebdd8d974f7.tar.gz
rt.equinox.p2-3328c174483daac28c1be073b1591ebdd8d974f7.tar.xz
rt.equinox.p2-3328c174483daac28c1be073b1591ebdd8d974f7.zip
bug 303933 - packed jars missing in repo
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.repository.tools/src_ant/org/eclipse')
-rw-r--r--bundles/org.eclipse.equinox.p2.repository.tools/src_ant/org/eclipse/equinox/p2/internal/repository/tools/tasks/MirrorArtifactsTask.java1
-rw-r--r--bundles/org.eclipse.equinox.p2.repository.tools/src_ant/org/eclipse/equinox/p2/internal/repository/tools/tasks/MirrorMetadataTask.java4
2 files changed, 3 insertions, 2 deletions
diff --git a/bundles/org.eclipse.equinox.p2.repository.tools/src_ant/org/eclipse/equinox/p2/internal/repository/tools/tasks/MirrorArtifactsTask.java b/bundles/org.eclipse.equinox.p2.repository.tools/src_ant/org/eclipse/equinox/p2/internal/repository/tools/tasks/MirrorArtifactsTask.java
index f75497bf4..d9ccbfc55 100644
--- a/bundles/org.eclipse.equinox.p2.repository.tools/src_ant/org/eclipse/equinox/p2/internal/repository/tools/tasks/MirrorArtifactsTask.java
+++ b/bundles/org.eclipse.equinox.p2.repository.tools/src_ant/org/eclipse/equinox/p2/internal/repository/tools/tasks/MirrorArtifactsTask.java
@@ -45,6 +45,7 @@ public class MirrorArtifactsTask extends Task {
destinationRepo.setName(destinationName);
destinationRepo.setLocation(destination);
destinationRepo.setKind(RepositoryDescriptor.KIND_ARTIFACT);
+ destinationRepo.setFormat(source);
if (writeMode != null && writeMode.equals("clean")) //$NON-NLS-1$
destinationRepo.setAppend(false);
diff --git a/bundles/org.eclipse.equinox.p2.repository.tools/src_ant/org/eclipse/equinox/p2/internal/repository/tools/tasks/MirrorMetadataTask.java b/bundles/org.eclipse.equinox.p2.repository.tools/src_ant/org/eclipse/equinox/p2/internal/repository/tools/tasks/MirrorMetadataTask.java
index f4350f3da..07f1bcb3c 100644
--- a/bundles/org.eclipse.equinox.p2.repository.tools/src_ant/org/eclipse/equinox/p2/internal/repository/tools/tasks/MirrorMetadataTask.java
+++ b/bundles/org.eclipse.equinox.p2.repository.tools/src_ant/org/eclipse/equinox/p2/internal/repository/tools/tasks/MirrorMetadataTask.java
@@ -10,14 +10,13 @@
*******************************************************************************/
package org.eclipse.equinox.p2.internal.repository.tools.tasks;
-import org.eclipse.equinox.p2.core.ProvisionException;
-
import java.net.URI;
import java.net.URISyntaxException;
import org.apache.tools.ant.BuildException;
import org.apache.tools.ant.Task;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.URIUtil;
+import org.eclipse.equinox.p2.core.ProvisionException;
import org.eclipse.equinox.p2.internal.repository.tools.MirrorApplication;
import org.eclipse.equinox.p2.internal.repository.tools.RepositoryDescriptor;
@@ -38,6 +37,7 @@ public class MirrorMetadataTask extends Task {
destinationRepo.setName(destinationName);
destinationRepo.setLocation(destination);
destinationRepo.setKind(RepositoryDescriptor.KIND_METADATA);
+ destinationRepo.setFormat(source);
if (writeMode != null && writeMode.equals("clean")) //$NON-NLS-1$
destinationRepo.setAppend(false);

Back to the top