Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rapicault2011-04-11 00:06:19 -0400
committerPascal Rapicault2011-04-11 00:06:19 -0400
commit32d32d7038ee02b115135571e2c81e32b57b3b84 (patch)
tree3d11a3717ead1001ce5af2c8ca314b5a3466cbad /bundles/org.eclipse.equinox.p2.repository.tools/src_ant/org/eclipse
parent113a71498908d2e5dfc09042b5d891d9c6fd1930 (diff)
downloadrt.equinox.p2-32d32d7038ee02b115135571e2c81e32b57b3b84.tar.gz
rt.equinox.p2-32d32d7038ee02b115135571e2c81e32b57b3b84.tar.xz
rt.equinox.p2-32d32d7038ee02b115135571e2c81e32b57b3b84.zip
Add resolution mode in the slicing options
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.java6
1 files changed, 6 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 fe94b51fb..d5e5ca4de 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
@@ -29,6 +29,7 @@ public class SlicingOption extends Task {
options.everythingGreedy(true);
options.includeOptionalDependencies(true);
options.followOnlyFilteredRequirements(false);
+ options.installTimeLikeResolution(false);
setIncludeFeatures(true);
}
@@ -104,7 +105,12 @@ public class SlicingOption extends Task {
options.latestVersionOnly(latest);
}
+ public void setResolve(boolean resolve) {
+ options.installTimeLikeResolution(resolve);
+ }
+
public SlicingOptions getOptions() {
return options;
}
+
}

Back to the top