diff options
author | Pascal Rapicault | 2011-05-11 22:11:01 +0000 |
---|---|---|
committer | Pascal Rapicault | 2011-05-11 22:11:01 +0000 |
commit | 08bf557ec61473b0fc47a8363f4bd85254ce7975 (patch) | |
tree | 0a13b466a613f46cfc4c384e0f01ec697159c66a /bundles/org.eclipse.equinox.p2.operations | |
parent | bb6efb2d290ccfe4ce4e1dce5a97d33e1842e279 (diff) | |
download | rt.equinox.p2-08bf557ec61473b0fc47a8363f4bd85254ce7975.tar.gz rt.equinox.p2-08bf557ec61473b0fc47a8363f4bd85254ce7975.tar.xz rt.equinox.p2-08bf557ec61473b0fc47a8363f4bd85254ce7975.zip |
Bug 345284 - [operations] Problems with SynchronizeOperation APIv20110511-1821
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.operations')
-rw-r--r-- | bundles/org.eclipse.equinox.p2.operations/src/org/eclipse/equinox/p2/operations/SynchronizeOperation.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bundles/org.eclipse.equinox.p2.operations/src/org/eclipse/equinox/p2/operations/SynchronizeOperation.java b/bundles/org.eclipse.equinox.p2.operations/src/org/eclipse/equinox/p2/operations/SynchronizeOperation.java index 7b12cad53..3e9e4c493 100644 --- a/bundles/org.eclipse.equinox.p2.operations/src/org/eclipse/equinox/p2/operations/SynchronizeOperation.java +++ b/bundles/org.eclipse.equinox.p2.operations/src/org/eclipse/equinox/p2/operations/SynchronizeOperation.java @@ -62,6 +62,8 @@ public class SynchronizeOperation extends InstallOperation { // If the user is installing a patch, we mark it optional. This allows the patched IU to be updated later by removing the patch. if (QueryUtil.isPatch(entryToInstall)) request.setInstallableUnitInclusionRules(entryToInstall, ProfileInclusionRules.createOptionalInclusionRule(entryToInstall)); + else + request.setInstallableUnitProfileProperty(entryToInstall, IProfile.PROP_PROFILE_ROOT_IU, Boolean.toString(true)); sub.worked(1); } |