Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDJ Houghton2010-12-20 10:31:45 -0500
committerDJ Houghton2010-12-20 10:31:45 -0500
commit26da76d5c5c87f1d9aadb508ff1534773c228bde (patch)
treec4f54f609a6e2552cf14464d57c0d665eb3e1f23
parenta617396e54999489a73611bdf5d3d533489a87bf (diff)
downloadrt.equinox.p2-26da76d5c5c87f1d9aadb508ff1534773c228bde.tar.gz
rt.equinox.p2-26da76d5c5c87f1d9aadb508ff1534773c228bde.tar.xz
rt.equinox.p2-26da76d5c5c87f1d9aadb508ff1534773c228bde.zip
Bug 332655 - Setting IU properties for missing IUs in a profile dirties the profile but does not persist the property
-rw-r--r--bundles/org.eclipse.equinox.p2.engine/src/org/eclipse/equinox/internal/p2/engine/Engine.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/bundles/org.eclipse.equinox.p2.engine/src/org/eclipse/equinox/internal/p2/engine/Engine.java b/bundles/org.eclipse.equinox.p2.engine/src/org/eclipse/equinox/internal/p2/engine/Engine.java
index 9536fdba3..0b28237de 100644
--- a/bundles/org.eclipse.equinox.p2.engine/src/org/eclipse/equinox/internal/p2/engine/Engine.java
+++ b/bundles/org.eclipse.equinox.p2.engine/src/org/eclipse/equinox/internal/p2/engine/Engine.java
@@ -51,6 +51,8 @@ public class Engine implements IEngine {
public IStatus perform(IProfile iprofile, IPhaseSet phases, Operand[] operands, ProvisioningContext context, IProgressMonitor monitor) {
PhaseSet phaseSet = (PhaseSet) phases;
checkArguments(iprofile, phaseSet, operands, context, monitor);
+ if (operands.length == 0)
+ return Status.OK_STATUS;
SimpleProfileRegistry profileRegistry = (SimpleProfileRegistry) agent.getService(IProfileRegistry.SERVICE_NAME);
IProvisioningEventBus eventBus = (IProvisioningEventBus) agent.getService(IProvisioningEventBus.SERVICE_NAME);

Back to the top