Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Kaegi2009-03-02 19:48:21 +0000
committerSimon Kaegi2009-03-02 19:48:21 +0000
commit04ad6939ca6c62f10c5c8796183ee7f2bc98e9e4 (patch)
treef1837ff6bf0f89dde40e0d767198073f97dd7943 /bundles/org.eclipse.equinox.p2.publisher
parent603b00e074ab6238b97a30bc8c457a80e624b503 (diff)
downloadrt.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.java1
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();

Back to the top