geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sppa...@apache.org
Subject svn commit: r370641 - /geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/internal/GeronimoServerRuntimeWizardFragment.java
Date Thu, 19 Jan 2006 21:33:25 GMT
Author: sppatel
Date: Thu Jan 19 13:33:23 2006
New Revision: 370641

URL: http://svn.apache.org/viewcvs?rev=370641&view=rev
Log:
validate path before enabling group

Modified:
    geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/internal/GeronimoServerRuntimeWizardFragment.java

Modified: geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/internal/GeronimoServerRuntimeWizardFragment.java
URL: http://svn.apache.org/viewcvs/geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/internal/GeronimoServerRuntimeWizardFragment.java?rev=370641&r1=370640&r2=370641&view=diff
==============================================================================
--- geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/internal/GeronimoServerRuntimeWizardFragment.java
(original)
+++ geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/internal/GeronimoServerRuntimeWizardFragment.java
Thu Jan 19 13:33:23 2006
@@ -235,7 +235,10 @@
 			group.setEnabled(false);
 		} else {
 			getWizard().setMessage(status.getMessage(), IMessageProvider.ERROR);
-			group.setEnabled(true);
+			Path installPath = new Path(installDir.getText());
+			if(installPath.toFile().exists()) {
+				group.setEnabled(true);
+			}
 			return;
 		}
 



Mime
View raw message