Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Niefer2009-07-21 21:39:01 +0000
committerAndrew Niefer2009-07-21 21:39:01 +0000
commitcc1df5f410ed6cf1ecc273b7f874803ae9ccc69d (patch)
tree04ce705c289d668c44b840be13e17ecbeee3c10c /bundles/org.eclipse.equinox.frameworkadmin.equinox
parent5da93b70ccd8d3c34242e400bfaf16a6380053f5 (diff)
downloadrt.equinox.p2-cc1df5f410ed6cf1ecc273b7f874803ae9ccc69d.tar.gz
rt.equinox.p2-cc1df5f410ed6cf1ecc273b7f874803ae9ccc69d.tar.xz
rt.equinox.p2-cc1df5f410ed6cf1ecc273b7f874803ae9ccc69d.zip
externalize Strings
Diffstat (limited to 'bundles/org.eclipse.equinox.frameworkadmin.equinox')
-rw-r--r--bundles/org.eclipse.equinox.frameworkadmin.equinox/src/org/eclipse/equinox/internal/frameworkadmin/equinox/Messages.java1
-rw-r--r--bundles/org.eclipse.equinox.frameworkadmin.equinox/src/org/eclipse/equinox/internal/frameworkadmin/equinox/ParserUtils.java5
-rw-r--r--bundles/org.eclipse.equinox.frameworkadmin.equinox/src/org/eclipse/equinox/internal/frameworkadmin/equinox/messages.properties1
3 files changed, 5 insertions, 2 deletions
diff --git a/bundles/org.eclipse.equinox.frameworkadmin.equinox/src/org/eclipse/equinox/internal/frameworkadmin/equinox/Messages.java b/bundles/org.eclipse.equinox.frameworkadmin.equinox/src/org/eclipse/equinox/internal/frameworkadmin/equinox/Messages.java
index 8c881f94f..9884e662c 100644
--- a/bundles/org.eclipse.equinox.frameworkadmin.equinox/src/org/eclipse/equinox/internal/frameworkadmin/equinox/Messages.java
+++ b/bundles/org.eclipse.equinox.frameworkadmin.equinox/src/org/eclipse/equinox/internal/frameworkadmin/equinox/Messages.java
@@ -21,6 +21,7 @@ public class Messages extends NLS {
public static String exception_launcherLocationNotSet;
public static String exception_fileURLExpected;
public static String exception_bundleManifest;
+ public static String exception_createAbsoluteURI;
public static String log_configFile;
public static String log_configProps;
diff --git a/bundles/org.eclipse.equinox.frameworkadmin.equinox/src/org/eclipse/equinox/internal/frameworkadmin/equinox/ParserUtils.java b/bundles/org.eclipse.equinox.frameworkadmin.equinox/src/org/eclipse/equinox/internal/frameworkadmin/equinox/ParserUtils.java
index b11649718..4781872ed 100644
--- a/bundles/org.eclipse.equinox.frameworkadmin.equinox/src/org/eclipse/equinox/internal/frameworkadmin/equinox/ParserUtils.java
+++ b/bundles/org.eclipse.equinox.frameworkadmin.equinox/src/org/eclipse/equinox/internal/frameworkadmin/equinox/ParserUtils.java
@@ -18,6 +18,7 @@ import java.util.Properties;
import org.eclipse.core.runtime.*;
import org.eclipse.equinox.internal.frameworkadmin.equinox.utils.FileUtils;
import org.eclipse.equinox.internal.provisional.frameworkadmin.LauncherData;
+import org.eclipse.osgi.util.NLS;
import org.osgi.service.log.LogService;
public class ParserUtils {
@@ -51,7 +52,7 @@ public class ParserUtils {
try {
return URIUtil.makeAbsolute(URIUtil.fromString(fwk), launcherFolder);
} catch (URISyntaxException e) {
- Log.log(LogService.LOG_ERROR, "can't make absolute of:" + fwk);
+ Log.log(LogService.LOG_ERROR, NLS.bind(Messages.exception_createAbsoluteURI, fwk, launcherFolder));
return null;
}
}
@@ -62,7 +63,7 @@ public class ParserUtils {
return null;
String install = getValueForArgument(EquinoxConstants.OPTION_INSTALL, args);
if (install == null && properties != null)
- install = properties.getProperty("osgi.install.area");
+ install = properties.getProperty("osgi.install.area"); //$NON-NLS-1$
if (install != null) {
if (install.startsWith(FILE_PROTOCOL))
diff --git a/bundles/org.eclipse.equinox.frameworkadmin.equinox/src/org/eclipse/equinox/internal/frameworkadmin/equinox/messages.properties b/bundles/org.eclipse.equinox.frameworkadmin.equinox/src/org/eclipse/equinox/internal/frameworkadmin/equinox/messages.properties
index 5a218e090..7e0332122 100644
--- a/bundles/org.eclipse.equinox.frameworkadmin.equinox/src/org/eclipse/equinox/internal/frameworkadmin/equinox/messages.properties
+++ b/bundles/org.eclipse.equinox.frameworkadmin.equinox/src/org/eclipse/equinox/internal/frameworkadmin/equinox/messages.properties
@@ -16,6 +16,7 @@ exception_failedToRename=Failed to rename {0} to {1}.
exception_launcherLocationNotSet=The launcher location has not been set.
exception_fileURLExpected= The property {0} = {1} is expected to be a \"file:\" URL.
exception_bundleManifest= Unable to get bundle manifest for: {0}
+exception_createAbsoluteURI=Failed to create absolute URI from \"{0}\" and \"{1}\".
log_configFile= Configuration file ({0}) has been read successfully.
log_configProps= Configuration properties is empty.

Back to the top