Author: dennyxu
Date: 2008-11-14 01:49:16 -0500 (Fri, 14 Nov 2008)
New Revision: 11779
Modified:
trunk/esb/plugins/org.jboss.tools.esb.project.ui/src/org/jboss/tools/esb/project/ui/wizards/pages/ESBFacetInstallationPage.java
Log:
JBIDE-3037: ESB project wizard should just warn if server runtime does not contain ESB
runtime
Modified:
trunk/esb/plugins/org.jboss.tools.esb.project.ui/src/org/jboss/tools/esb/project/ui/wizards/pages/ESBFacetInstallationPage.java
===================================================================
---
trunk/esb/plugins/org.jboss.tools.esb.project.ui/src/org/jboss/tools/esb/project/ui/wizards/pages/ESBFacetInstallationPage.java 2008-11-14
05:35:58 UTC (rev 11778)
+++
trunk/esb/plugins/org.jboss.tools.esb.project.ui/src/org/jboss/tools/esb/project/ui/wizards/pages/ESBFacetInstallationPage.java 2008-11-14
06:49:16 UTC (rev 11779)
@@ -351,10 +351,10 @@
.findRuntime(runtime.getProperty("id")); //$NON-NLS-1$
if (!JBossRuntimeManager.isValidESBServer(serverRuntime
.getLocation().toOSString())) {
- hasRuntime = false;
- setErrorMessage(JBossESBUIMessages.ESBFacetInstallationPage_Error_Message_Invalid_ESB_Runtime);
+ hasRuntime = true;
+ setMessage(JBossESBUIMessages.ESBFacetInstallationPage_Error_Message_Invalid_ESB_Runtime,
WARNING);
setPageComplete(isPageComplete());
- return false;
+ return true;
}
}
// when the UI loaded from project facet properties page
@@ -375,10 +375,10 @@
.findRuntime(runtime.getProperty("id"));
if (!JBossRuntimeManager.isValidESBServer(serverRuntime
.getLocation().toOSString())) {
- setErrorMessage(JBossESBUIMessages.ESBFacetInstallationPage_Error_Message_Invalid_ESB_Runtime);
- hasRuntime = false;
+ setMessage(JBossESBUIMessages.ESBFacetInstallationPage_Error_Message_Invalid_ESB_Runtime,
WARNING);
+ hasRuntime = true;
setPageComplete(isPageComplete());
- return false;
+ return true;
}
}
}
Show replies by date