# HG changeset patch # Parent c190a715f91e847a7e19a18b237f1652ace0f18c Multiple Maven Runtimes support. diff --git a/maven/src/org/netbeans/modules/maven/api/customizer/support/CheckBoxUpdater.java b/maven/src/org/netbeans/modules/maven/api/customizer/support/CheckBoxUpdater.java --- a/maven/src/org/netbeans/modules/maven/api/customizer/support/CheckBoxUpdater.java +++ b/maven/src/org/netbeans/modules/maven/api/customizer/support/CheckBoxUpdater.java @@ -71,7 +71,7 @@ inherited = false; component.setFont(component.getFont().deriveFont(Font.BOLD)); - component.setToolTipText(""); //NOI18N + component.setToolTipText(null); } else { component.setToolTipText(NbBundle.getMessage(CheckBoxUpdater.class, "MSG_Value_Inherited")); //NOI18N inherited = true; @@ -100,7 +100,7 @@ private void setCheckBoxValue(Boolean value, boolean defValue, JCheckBox component) { if (value != null) { component.setSelected(value.booleanValue()); - component.setToolTipText(""); //NOI18N + component.setToolTipText(null); inherited = false; component.setFont(component.getFont().deriveFont(Font.BOLD)); } else { diff --git a/maven/src/org/netbeans/modules/maven/api/execute/Bundle.properties b/maven/src/org/netbeans/modules/maven/api/execute/Bundle.properties --- a/maven/src/org/netbeans/modules/maven/api/execute/Bundle.properties +++ b/maven/src/org/netbeans/modules/maven/api/execute/Bundle.properties @@ -34,6 +34,6 @@ # Contributor(s): # # Portions Copyrighted 2009 Sun Microsystems, Inc. -HINT_EmbeddedBuild=No Apache Maven installation was found on your computer.
As a fallback, an embedded instance will be used for building. \ -However, the embedded version is not a stable release and errors and incompatibilities in the build execution are to be expected.
Please specify a Maven location in the Options window. - +HINT_EmbeddedBuild=You're using an embedded Maven runtime for building.\ +
However, the embedded version is not a stable release and errors and incompatibilities in the build execution are to be expected.
\ +Please specify an external Maven runtime in the Options window. diff --git a/maven/src/org/netbeans/modules/maven/api/execute/RunUtils.java b/maven/src/org/netbeans/modules/maven/api/execute/RunUtils.java --- a/maven/src/org/netbeans/modules/maven/api/execute/RunUtils.java +++ b/maven/src/org/netbeans/modules/maven/api/execute/RunUtils.java @@ -84,7 +84,7 @@ } } - if (!useEmbedded && MavenSettings.canFindExternalMaven()) { + if (!useEmbedded && MavenSettings.getDefault().isUsingExternalRuntime()) { exec = new MavenCommandLineExecutor(config); } else { if (!warningShown && DontShowAgainSettings.getDefault().showWarningAboutEmbeddedBuild()) { diff --git a/maven/src/org/netbeans/modules/maven/customizer/ActionMappings.form b/maven/src/org/netbeans/modules/maven/customizer/ActionMappings.form --- a/maven/src/org/netbeans/modules/maven/customizer/ActionMappings.form +++ b/maven/src/org/netbeans/modules/maven/customizer/ActionMappings.form @@ -1,4 +1,4 @@ - +