geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From de...@apache.org
Subject svn commit: r817918 - /geronimo/devtools/eclipse-plugin/branches/2.1.5/plugins/org.apache.geronimo.st.v21.ui/src/main/java/org/apache/geronimo/st/v21/ui/wizards/DBPoolWizard.java
Date Wed, 23 Sep 2009 01:38:07 GMT
Author: delos
Date: Wed Sep 23 01:38:07 2009
New Revision: 817918

URL: http://svn.apache.org/viewvc?rev=817918&view=rev
Log:
GERONIMODEVTOOLS-455 Add Database pool wizard in GEP to enable application specific pools

Modified:
    geronimo/devtools/eclipse-plugin/branches/2.1.5/plugins/org.apache.geronimo.st.v21.ui/src/main/java/org/apache/geronimo/st/v21/ui/wizards/DBPoolWizard.java

Modified: geronimo/devtools/eclipse-plugin/branches/2.1.5/plugins/org.apache.geronimo.st.v21.ui/src/main/java/org/apache/geronimo/st/v21/ui/wizards/DBPoolWizard.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/branches/2.1.5/plugins/org.apache.geronimo.st.v21.ui/src/main/java/org/apache/geronimo/st/v21/ui/wizards/DBPoolWizard.java?rev=817918&r1=817917&r2=817918&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/branches/2.1.5/plugins/org.apache.geronimo.st.v21.ui/src/main/java/org/apache/geronimo/st/v21/ui/wizards/DBPoolWizard.java
(original)
+++ geronimo/devtools/eclipse-plugin/branches/2.1.5/plugins/org.apache.geronimo.st.v21.ui/src/main/java/org/apache/geronimo/st/v21/ui/wizards/DBPoolWizard.java
Wed Sep 23 01:38:07 2009
@@ -177,7 +177,10 @@
 	    extModule.setExternalPath(pattern);
 	    pattern.setGroupId(page0.text[1].getText());
 	    pattern.setArtifactId(page0.text[2].getText());
-	    pattern.setVersion(page0.text[3].getText());
+	    //empty version element will cause deploy failure
+	    String version = page0.text[3].getText();
+	    if (version!=null && version.length()!=0)
+	    	pattern.setVersion(page0.text[3].getText());
 	    pattern.setType(page0.text[4].getText().trim());
 
 	    Connector conn = new Connector();



Mime
View raw message