JBoss Tools SVN: r9035 - trunk/ws/plugins/org.jboss.tools.ws.creation.ui/src/org/jboss/tools/ws/creation/ui/project/facet.
by jbosstools-commits@lists.jboss.org
Author: dennyxu
Date: 2008-07-01 01:58:21 -0400 (Tue, 01 Jul 2008)
New Revision: 9035
Modified:
trunk/ws/plugins/org.jboss.tools.ws.creation.ui/src/org/jboss/tools/ws/creation/ui/project/facet/JBossWSFacetInstallPage.java
Log:
JBIDE-2468: fixed the bug that display the wrong error message while adding jbossws web service runtime facet
Modified: trunk/ws/plugins/org.jboss.tools.ws.creation.ui/src/org/jboss/tools/ws/creation/ui/project/facet/JBossWSFacetInstallPage.java
===================================================================
--- trunk/ws/plugins/org.jboss.tools.ws.creation.ui/src/org/jboss/tools/ws/creation/ui/project/facet/JBossWSFacetInstallPage.java 2008-06-30 21:59:04 UTC (rev 9034)
+++ trunk/ws/plugins/org.jboss.tools.ws.creation.ui/src/org/jboss/tools/ws/creation/ui/project/facet/JBossWSFacetInstallPage.java 2008-07-01 05:58:21 UTC (rev 9035)
@@ -306,7 +306,11 @@
} catch (JavaModelException e1) {
CreationUIPlugin.getDefault().getLog().log(StatusUtils.errorStatus(e1));
}
- setErrorMessage("Duplicated jar on classpath:" + duplicateMsg);
+ if(!duplicateMsg.equals("")){
+ setErrorMessage("Duplicated jar on classpath:" + duplicateMsg);
+ }else{
+ setErrorMessage(null);
+ }
}else{
setErrorMessage(null);
}
16 years, 6 months