diff options
author | Tobias Oberlies | 2012-10-01 15:57:52 +0000 |
---|---|---|
committer | Tobias Oberlies | 2012-10-01 16:00:38 +0000 |
commit | 9b046ca9e6e6cb390b787cb51bf5ed335ddc946d (patch) | |
tree | f979ba5da2cb2842374fe299d2a92df5418bb03a | |
parent | 5ff2bd944bf00db8f06f8a33ae7cc16eecee930c (diff) | |
download | rt.equinox.p2-9b046ca9e6e6cb390b787cb51bf5ed335ddc946d.tar.gz rt.equinox.p2-9b046ca9e6e6cb390b787cb51bf5ed335ddc946d.tar.xz rt.equinox.p2-9b046ca9e6e6cb390b787cb51bf5ed335ddc946d.zip |
388566 Always publish IUs regardless of the statusv20121001-160038
- In order to preserve the old behaviour for callers that ignore the
error status (like the PDE headless build), the created, potentially
broken IUs need to be written to the metadata repository. This is the
same as with artifacts, which are also written regardless of the
status, so I don't see any problems with this behaviour.
Bug: 388566 Published products are broken if included fragments are not in context
-rw-r--r-- | bundles/org.eclipse.equinox.p2.publisher/src/org/eclipse/equinox/p2/publisher/Publisher.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/bundles/org.eclipse.equinox.p2.publisher/src/org/eclipse/equinox/p2/publisher/Publisher.java b/bundles/org.eclipse.equinox.p2.publisher/src/org/eclipse/equinox/p2/publisher/Publisher.java index 76df6080f..2ad155eff 100644 --- a/bundles/org.eclipse.equinox.p2.publisher/src/org/eclipse/equinox/p2/publisher/Publisher.java +++ b/bundles/org.eclipse.equinox.p2.publisher/src/org/eclipse/equinox/p2/publisher/Publisher.java @@ -241,9 +241,7 @@ public class Publisher { if (Tracing.DEBUG_PUBLISHING) Tracing.debug("Publishing complete. Result=" + finalStatus); //$NON-NLS-1$ - // if there were no errors, publish all the ius. - if (finalStatus.isOK() || finalStatus.matches(IStatus.INFO | IStatus.WARNING)) - savePublishedIUs(); + savePublishedIUs(); if (!finalStatus.isOK()) return finalStatus; |