Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Niefer2009-04-14 17:19:08 -0400
committerAndrew Niefer2009-04-14 17:19:08 -0400
commit0a4de0db8d0f9226ca8e4dc02c7a969b143f10dc (patch)
tree0b53b51489ce9a15732ea6946cfd88fd0425d7c8 /bundles/org.eclipse.equinox.p2.repository.tools/src_ant/org/eclipse
parent764243cfd5e4c3bfe362aa39c618681d764ff6ad (diff)
downloadrt.equinox.p2-0a4de0db8d0f9226ca8e4dc02c7a969b143f10dc.tar.gz
rt.equinox.p2-0a4de0db8d0f9226ca8e4dc02c7a969b143f10dc.tar.xz
rt.equinox.p2-0a4de0db8d0f9226ca8e4dc02c7a969b143f10dc.zip
bug 272219 - Repo2Runnable should put binaries under destination
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/AbstractRepositoryTask.java7
1 files changed, 5 insertions, 2 deletions
diff --git a/bundles/org.eclipse.equinox.p2.repository.tools/src_ant/org/eclipse/equinox/p2/internal/repository/tools/tasks/AbstractRepositoryTask.java b/bundles/org.eclipse.equinox.p2.repository.tools/src_ant/org/eclipse/equinox/p2/internal/repository/tools/tasks/AbstractRepositoryTask.java
index 638c2bb77..149cb7a56 100644
--- a/bundles/org.eclipse.equinox.p2.repository.tools/src_ant/org/eclipse/equinox/p2/internal/repository/tools/tasks/AbstractRepositoryTask.java
+++ b/bundles/org.eclipse.equinox.p2.repository.tools/src_ant/org/eclipse/equinox/p2/internal/repository/tools/tasks/AbstractRepositoryTask.java
@@ -24,6 +24,7 @@ import org.eclipse.equinox.internal.provisional.p2.query.Query;
import org.eclipse.equinox.p2.internal.repository.tools.AbstractApplication;
public abstract class AbstractRepositoryTask extends Task {
+ protected static final String ANT_PREFIX = "${"; //$NON-NLS-1$
protected AbstractApplication application;
protected List iuTasks = new ArrayList();
protected List sourceRepos = new ArrayList();
@@ -137,8 +138,10 @@ public abstract class AbstractRepositoryTask extends Task {
}
}
} else {
- application.addSourceArtifactRepository(fileset.location);
- application.addSourceMetadataRepository(fileset.location);
+ if (!fileset.location.startsWith(ANT_PREFIX)) {
+ application.addSourceArtifactRepository(fileset.location);
+ application.addSourceMetadataRepository(fileset.location);
+ }
}
}
}

Back to the top