diff options
author | Simon Kaegi | 2009-03-02 19:48:21 +0000 |
---|---|---|
committer | Simon Kaegi | 2009-03-02 19:48:21 +0000 |
commit | 04ad6939ca6c62f10c5c8796183ee7f2bc98e9e4 (patch) | |
tree | f1837ff6bf0f89dde40e0d767198073f97dd7943 /bundles/org.eclipse.equinox.p2.publisher | |
parent | 603b00e074ab6238b97a30bc8c457a80e624b503 (diff) | |
download | rt.equinox.p2-04ad6939ca6c62f10c5c8796183ee7f2bc98e9e4.tar.gz rt.equinox.p2-04ad6939ca6c62f10c5c8796183ee7f2bc98e9e4.tar.xz rt.equinox.p2-04ad6939ca6c62f10c5c8796183ee7f2bc98e9e4.zip |
Bug 265217 [publisher] Improved IU advice support with p2.inf
on a parse error we want to provide no advice
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.publisher')
-rw-r--r-- | bundles/org.eclipse.equinox.p2.publisher/src/org/eclipse/equinox/p2/publisher/eclipse/AdviceFileAdvice.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bundles/org.eclipse.equinox.p2.publisher/src/org/eclipse/equinox/p2/publisher/eclipse/AdviceFileAdvice.java b/bundles/org.eclipse.equinox.p2.publisher/src/org/eclipse/equinox/p2/publisher/eclipse/AdviceFileAdvice.java index 0980e6020..31a51ad05 100644 --- a/bundles/org.eclipse.equinox.p2.publisher/src/org/eclipse/equinox/p2/publisher/eclipse/AdviceFileAdvice.java +++ b/bundles/org.eclipse.equinox.p2.publisher/src/org/eclipse/equinox/p2/publisher/eclipse/AdviceFileAdvice.java @@ -76,6 +76,7 @@ public class AdviceFileAdvice extends AbstractAdvice implements ITouchpointAdvic String message = "An error occured while parsing advice file: basePath=" + basePath + ", adviceFilePath=" + adviceFilePath + "."; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ IStatus status = new Status(IStatus.ERROR, Activator.ID, message, e); LogHelper.log(status); + return; } touchpointInstructions = parser.getTouchpointInstructions(); providedCapabilities = parser.getProvidedCapabilities(); |