Author: dgeraskov
Date: 2008-10-16 07:35:55 -0400 (Thu, 16 Oct 2008)
New Revision: 10879
Modified:
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/model/impl/ExporterFactory.java
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/AddPropertyDialog.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-1913
return ';' back
Modified:
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/model/impl/ExporterFactory.java
===================================================================
---
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/model/impl/ExporterFactory.java 2008-10-16
11:33:23 UTC (rev 10878)
+++
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/model/impl/ExporterFactory.java 2008-10-16
11:35:55 UTC (rev 10879)
@@ -205,7 +205,7 @@
List templatePathList = new ArrayList();
if(props.containsKey("template_path")) { //$NON-NLS-1$
String resolveTemplatePath = resolve(props.getProperty("template_path"));
//$NON-NLS-1$
- StringTokenizer st = new StringTokenizer(resolveTemplatePath, File.pathSeparator);
+ StringTokenizer st = new StringTokenizer(resolveTemplatePath, ";");
String out = new String();
while (st.hasMoreTokens()) {
String locationAsStringPath = PathHelper.getLocationAsStringPath(st.nextToken());
@@ -224,7 +224,7 @@
}
if (StringHelper.isNotEmpty(customTemplatePath)){
String resolvedCustomTemplatePath = resolve(customTemplatePath);
- StringTokenizer st = new StringTokenizer(resolvedCustomTemplatePath,
File.pathSeparator);
+ StringTokenizer st = new StringTokenizer(resolvedCustomTemplatePath, ";");
String out = "";
while (st.hasMoreTokens()) {
String locationAsStringPath = PathHelper.getLocationAsStringPath(st.nextToken());
Modified:
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/AddPropertyDialog.java
===================================================================
---
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/AddPropertyDialog.java 2008-10-16
11:33:23 UTC (rev 10878)
+++
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/AddPropertyDialog.java 2008-10-16
11:35:55 UTC (rev 10879)
@@ -229,14 +229,14 @@
strPath = paths[0].toOSString();
if (isPath){
for (int i = 1; i < paths.length; i++) {
- strPath += File.pathSeparator + paths[i].toOSString();
+ strPath += ';' + paths[i].toOSString();
}
}
}
} else return;
String oldPath = ((Text)value).getText();
if (isPath && oldPath.trim().length() > 0 && strPath != null)
- ((Text)value).setText( oldPath + File.pathSeparator + strPath );
+ ((Text)value).setText( oldPath + ';' + strPath );
else {
if (strPath != null)
((Text)value).setText( strPath );