Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rapicault2009-05-06 14:20:20 -0400
committerPascal Rapicault2009-05-06 14:20:20 -0400
commita5cb4f295544d4a16b734d017a57e46ec14d5493 (patch)
treee6a5b382ca838601a6bb582a6041b85d19fd7a2f /bundles/org.eclipse.equinox.p2.touchpoint.eclipse
parenteb3a817b7fee75ddcd6436e14a5eebb601dd147e (diff)
downloadrt.equinox.p2-a5cb4f295544d4a16b734d017a57e46ec14d5493.tar.gz
rt.equinox.p2-a5cb4f295544d4a16b734d017a57e46ec14d5493.tar.xz
rt.equinox.p2-a5cb4f295544d4a16b734d017a57e46ec14d5493.zip
bug 275101 - Error saving manipulator
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.touchpoint.eclipse')
-rw-r--r--bundles/org.eclipse.equinox.p2.touchpoint.eclipse/src/org/eclipse/equinox/internal/p2/touchpoint/eclipse/EclipseTouchpoint.java3
-rw-r--r--bundles/org.eclipse.equinox.p2.touchpoint.eclipse/src/org/eclipse/equinox/internal/p2/touchpoint/eclipse/Messages.java1
-rw-r--r--bundles/org.eclipse.equinox.p2.touchpoint.eclipse/src/org/eclipse/equinox/internal/p2/touchpoint/eclipse/messages.properties1
3 files changed, 3 insertions, 2 deletions
diff --git a/bundles/org.eclipse.equinox.p2.touchpoint.eclipse/src/org/eclipse/equinox/internal/p2/touchpoint/eclipse/EclipseTouchpoint.java b/bundles/org.eclipse.equinox.p2.touchpoint.eclipse/src/org/eclipse/equinox/internal/p2/touchpoint/eclipse/EclipseTouchpoint.java
index d45104f5a..a8e0195ca 100644
--- a/bundles/org.eclipse.equinox.p2.touchpoint.eclipse/src/org/eclipse/equinox/internal/p2/touchpoint/eclipse/EclipseTouchpoint.java
+++ b/bundles/org.eclipse.equinox.p2.touchpoint.eclipse/src/org/eclipse/equinox/internal/p2/touchpoint/eclipse/EclipseTouchpoint.java
@@ -119,7 +119,7 @@ public class EclipseTouchpoint extends Touchpoint {
if (hasPreparedIUs(profile))
return validateProfile(profile);
} catch (RuntimeException e) {
- return Util.createError(Messages.error_saving_manipulator, e);
+ return Util.createError(NLS.bind(Messages.error_validating_profile, profile.getProfileId()), e);
}
return Status.OK_STATUS;
}
@@ -235,7 +235,6 @@ public class EclipseTouchpoint extends Touchpoint {
if (c != null) {
return DirectorUtil.validateProfile(profile);
}
-
return null;
}
}
diff --git a/bundles/org.eclipse.equinox.p2.touchpoint.eclipse/src/org/eclipse/equinox/internal/p2/touchpoint/eclipse/Messages.java b/bundles/org.eclipse.equinox.p2.touchpoint.eclipse/src/org/eclipse/equinox/internal/p2/touchpoint/eclipse/Messages.java
index 5d9d23426..a6a28841d 100644
--- a/bundles/org.eclipse.equinox.p2.touchpoint.eclipse/src/org/eclipse/equinox/internal/p2/touchpoint/eclipse/Messages.java
+++ b/bundles/org.eclipse.equinox.p2.touchpoint.eclipse/src/org/eclipse/equinox/internal/p2/touchpoint/eclipse/Messages.java
@@ -31,6 +31,7 @@ public class Messages extends NLS {
public static String parent_dir_features;
public static String platform_config_unavailable;
public static String unexpected_prepareiu_error;
+ public static String error_validating_profile;
static {
// load message values from bundle file and assign to fields below
diff --git a/bundles/org.eclipse.equinox.p2.touchpoint.eclipse/src/org/eclipse/equinox/internal/p2/touchpoint/eclipse/messages.properties b/bundles/org.eclipse.equinox.p2.touchpoint.eclipse/src/org/eclipse/equinox/internal/p2/touchpoint/eclipse/messages.properties
index 700ee4729..6cd5e4807 100644
--- a/bundles/org.eclipse.equinox.p2.touchpoint.eclipse/src/org/eclipse/equinox/internal/p2/touchpoint/eclipse/messages.properties
+++ b/bundles/org.eclipse.equinox.p2.touchpoint.eclipse/src/org/eclipse/equinox/internal/p2/touchpoint/eclipse/messages.properties
@@ -26,3 +26,4 @@ cannot_calculate_extension_location=Unable to calculate extension location for:
parent_dir_features=Parent directory should be "features": {0}.
platform_config_unavailable=Platform configuration not available.
unexpected_prepareiu_error=Unexpected state: prepareIU
+error_validating_profile=Error validating profile {0}.

Back to the top