Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rapicault2009-04-25 16:05:48 -0400
committerPascal Rapicault2009-04-25 16:05:48 -0400
commitf0ecd9748a00b33a3f30eb363ec7e8db65a31a51 (patch)
tree7165d75ea85dd547c7582501236ec492fa2bc35e /bundles/org.eclipse.equinox.p2.repository.tools/src_ant/org/eclipse
parent716248432af3621e86c77724d4d8d02da26a76be (diff)
downloadrt.equinox.p2-f0ecd9748a00b33a3f30eb363ec7e8db65a31a51.tar.gz
rt.equinox.p2-f0ecd9748a00b33a3f30eb363ec7e8db65a31a51.tar.xz
rt.equinox.p2-f0ecd9748a00b33a3f30eb363ec7e8db65a31a51.zip
Bug 273126 - p2.mirror app should have a mode to only slice platform dependent bundles
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/SlicingOption.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/bundles/org.eclipse.equinox.p2.repository.tools/src_ant/org/eclipse/equinox/p2/internal/repository/tools/tasks/SlicingOption.java b/bundles/org.eclipse.equinox.p2.repository.tools/src_ant/org/eclipse/equinox/p2/internal/repository/tools/tasks/SlicingOption.java
index 37d5f9089..c7ff268f6 100644
--- a/bundles/org.eclipse.equinox.p2.repository.tools/src_ant/org/eclipse/equinox/p2/internal/repository/tools/tasks/SlicingOption.java
+++ b/bundles/org.eclipse.equinox.p2.repository.tools/src_ant/org/eclipse/equinox/p2/internal/repository/tools/tasks/SlicingOption.java
@@ -27,6 +27,7 @@ public class SlicingOption extends Task {
options.considerStrictDependencyOnly(false);
options.everythingGreedy(true);
options.includeOptionalDependencies(true);
+ options.followOnlyFilteredRequirements(false);
setIncludeFeatures(true);
}
@@ -83,6 +84,10 @@ public class SlicingOption extends Task {
options.considerStrictDependencyOnly(strict);
}
+ public void setFollowOnlyFilteredRequirements(boolean onlyFiltered) {
+ options.followOnlyFilteredRequirements(onlyFiltered);
+ }
+
public SlicingOptions getOptions() {
return options;
}

Back to the top