Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--jpa/plugins/org.eclipse.jpt.jaxb.ui/property_files/jpt_jaxb_ui.properties9
-rw-r--r--jpa/plugins/org.eclipse.jpt.jaxb.ui/src/org/eclipse/jpt/jaxb/ui/internal/JptJaxbUiMessages.java4
-rw-r--r--jpa/plugins/org.eclipse.jpt.jaxb.ui/src/org/eclipse/jpt/jaxb/ui/internal/wizards/schemagen/SchemaGeneratorWizardPage.java4
3 files changed, 15 insertions, 2 deletions
diff --git a/jpa/plugins/org.eclipse.jpt.jaxb.ui/property_files/jpt_jaxb_ui.properties b/jpa/plugins/org.eclipse.jpt.jaxb.ui/property_files/jpt_jaxb_ui.properties
index 98bdd833ca..478c762757 100644
--- a/jpa/plugins/org.eclipse.jpt.jaxb.ui/property_files/jpt_jaxb_ui.properties
+++ b/jpa/plugins/org.eclipse.jpt.jaxb.ui/property_files/jpt_jaxb_ui.properties
@@ -56,3 +56,12 @@ SchemaGeneratorWizardPage_chooseSchemaDialogTitle = Select Schema File
SchemaGeneratorWizardPage_errorNoSchema = Schema name cannot be empty
SchemaGeneratorWizardPage_errorNoPackage = No classes included
+SchemaGeneratorWizardPage_jaxbLibrariesNotAvailable = \
+ The classpath for this project does not appear to contain the necessary libraries to proceed with schema generation.\
+ \nPlease insure that a JAXB implementation is available on the classpath.
+
+SchemaGeneratorWizardPage_moxyLibrariesNotAvailable = \
+ The classpath for this project does not appear to contain the necessary libraries to proceed with schema generation.\
+ \nPlease insure that EclipseLink MOXy is available on the classpath.
+
+
diff --git a/jpa/plugins/org.eclipse.jpt.jaxb.ui/src/org/eclipse/jpt/jaxb/ui/internal/JptJaxbUiMessages.java b/jpa/plugins/org.eclipse.jpt.jaxb.ui/src/org/eclipse/jpt/jaxb/ui/internal/JptJaxbUiMessages.java
index 26ed4aca07..99bbb6dcbf 100644
--- a/jpa/plugins/org.eclipse.jpt.jaxb.ui/src/org/eclipse/jpt/jaxb/ui/internal/JptJaxbUiMessages.java
+++ b/jpa/plugins/org.eclipse.jpt.jaxb.ui/src/org/eclipse/jpt/jaxb/ui/internal/JptJaxbUiMessages.java
@@ -60,6 +60,10 @@ public class JptJaxbUiMessages {
public static String SchemaGeneratorWizardPage_errorNoSchema;
public static String SchemaGeneratorWizardPage_errorNoPackage;
+ public static String SchemaGeneratorWizardPage_jaxbLibrariesNotAvailable;
+
+ public static String SchemaGeneratorWizardPage_moxyLibrariesNotAvailable;
+
private static final String BUNDLE_NAME = "jpt_jaxb_ui"; //$NON-NLS-1$
private static final Class<?> BUNDLE_CLASS = JptJaxbUiMessages.class;
diff --git a/jpa/plugins/org.eclipse.jpt.jaxb.ui/src/org/eclipse/jpt/jaxb/ui/internal/wizards/schemagen/SchemaGeneratorWizardPage.java b/jpa/plugins/org.eclipse.jpt.jaxb.ui/src/org/eclipse/jpt/jaxb/ui/internal/wizards/schemagen/SchemaGeneratorWizardPage.java
index cdd7793dab..f4b06f3f83 100644
--- a/jpa/plugins/org.eclipse.jpt.jaxb.ui/src/org/eclipse/jpt/jaxb/ui/internal/wizards/schemagen/SchemaGeneratorWizardPage.java
+++ b/jpa/plugins/org.eclipse.jpt.jaxb.ui/src/org/eclipse/jpt/jaxb/ui/internal/wizards/schemagen/SchemaGeneratorWizardPage.java
@@ -203,11 +203,11 @@ public class SchemaGeneratorWizardPage extends AbstractJarDestinationWizardPage
setMessage(null);
if( ! this.genericJaxbIsOnClasspath()) {
- this.displayWarning(JptJaxbUiMessages.ClassesGeneratorWizardPage_jaxbLibrariesNotAvailable);
+ this.displayWarning(JptJaxbUiMessages.SchemaGeneratorWizardPage_jaxbLibrariesNotAvailable);
}
else if(this.usesMoxy() && ! this.moxyIsOnClasspath()) {
//this message is being truncated by the wizard width in some cases
- this.displayWarning(JptJaxbUiMessages.ClassesGeneratorWizardPage_moxyLibrariesNotAvailable);
+ this.displayWarning(JptJaxbUiMessages.SchemaGeneratorWizardPage_moxyLibrariesNotAvailable);
}
//this code will intelligently remove our classpath warnings when they are present but no longer apply (as an alternative

Back to the top