[jbosstools-commits] JBoss Tools SVN: r43569 - trunk/esb/tests/org.jboss.tools.esb.ui.bot.test/src/org/jboss/tools/esb/ui/bot/tests/examples.
jbosstools-commits at lists.jboss.org
jbosstools-commits at lists.jboss.org
Mon Sep 10 16:33:09 EDT 2012
Author: ldimaggio
Date: 2012-09-10 16:33:09 -0400 (Mon, 10 Sep 2012)
New Revision: 43569
Modified:
trunk/esb/tests/org.jboss.tools.esb.ui.bot.test/src/org/jboss/tools/esb/ui/bot/tests/examples/HelloWorldFileAction.java
Log:
Still fighting with dir paths on Windows
Modified: trunk/esb/tests/org.jboss.tools.esb.ui.bot.test/src/org/jboss/tools/esb/ui/bot/tests/examples/HelloWorldFileAction.java
===================================================================
--- trunk/esb/tests/org.jboss.tools.esb.ui.bot.test/src/org/jboss/tools/esb/ui/bot/tests/examples/HelloWorldFileAction.java 2012-09-10 20:14:07 UTC (rev 43568)
+++ trunk/esb/tests/org.jboss.tools.esb.ui.bot.test/src/org/jboss/tools/esb/ui/bot/tests/examples/HelloWorldFileAction.java 2012-09-10 20:33:09 UTC (rev 43569)
@@ -79,7 +79,7 @@
try {
//baseDir = bot.textWithLabel("Location:").getText().replaceAll(System.getProperty("file.separator"), "zzz");
// http://stackoverflow.com/questions/1701839/backslash-problem-with-string-replaceall
- baseDir = bot.textWithLabel("Location:").getText().replace("\\", "\\\\") + "\\";
+ baseDir = bot.textWithLabel("Location:").getText().replace("\\", "\\\\") + "\\\\";
}
catch (Exception E) {
System.out.println ("replaceAll failing with " + E.getMessage() );
More information about the jbosstools-commits
mailing list