Author: rob.stryker(a)jboss.com
Date: 2007-05-31 13:06:06 -0400 (Thu, 31 May 2007)
New Revision: 2082
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/wizards/AbstractJBossRuntimeWizardFragment.java
Log:
JBIDE-477 (default directory) and EXIN-172 (4.2 icon)
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/wizards/AbstractJBossRuntimeWizardFragment.java
===================================================================
---
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/wizards/AbstractJBossRuntimeWizardFragment.java 2007-05-31
17:04:33 UTC (rev 2081)
+++
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/wizards/AbstractJBossRuntimeWizardFragment.java 2007-05-31
17:06:06 UTC (rev 2082)
@@ -165,7 +165,9 @@
private void setWidgetDefaults() {
nameText.setText(generateNewRuntimeName());
- homeDirText.setText( Platform.getOS() == Platform.WS_WIN32 ?
+ System.out.println("platform os = " + Platform.getOS());
+ System.out.println("win32 value: " + Platform.WS_WIN32);
+ homeDirText.setText( Platform.getOS().equals( Platform.WS_WIN32 ) ?
"c:/program files/jboss-" + getRuntimeVersionId() + ".x" :
"/usr/bin/jboss-" + getRuntimeVersionId() + ".x");
}
Show replies by date