Author: adietish
Date: 2011-10-05 09:40:12 -0400 (Wed, 05 Oct 2011)
New Revision: 35370
Modified:
trunk/as/plugins/org.jboss.tools.openshift.express.client/src/org/jboss/tools/openshift/express/client/UserConfiguration.java
Log:
[JBIDE-9793] corrected loading of existing express.conf
Modified:
trunk/as/plugins/org.jboss.tools.openshift.express.client/src/org/jboss/tools/openshift/express/client/UserConfiguration.java
===================================================================
---
trunk/as/plugins/org.jboss.tools.openshift.express.client/src/org/jboss/tools/openshift/express/client/UserConfiguration.java 2011-10-05
13:37:15 UTC (rev 35369)
+++
trunk/as/plugins/org.jboss.tools.openshift.express.client/src/org/jboss/tools/openshift/express/client/UserConfiguration.java 2011-10-05
13:40:12 UTC (rev 35370)
@@ -43,7 +43,7 @@
if (userHome == null) {
throw new OpenshiftException("Could not read user configuration: user home
directory not found");
}
- return new File(CONFIGURATION_FILE, userHome + File.separatorChar +
CONFIGURATION_FOLDER);
+ return new File(userHome + File.separatorChar + CONFIGURATION_FOLDER,
CONFIGURATION_FILE);
}
protected Properties getUserProperties(File userConfigurationFile) throws
FileNotFoundException, IOException {
Show replies by date