Author: ldimaggio
Date: 2012-09-10 14:28:46 -0400 (Mon, 10 Sep 2012)
New Revision: 43564
Modified:
trunk/esb/tests/org.jboss.tools.esb.ui.bot.test/src/org/jboss/tools/esb/ui/bot/tests/examples/HelloWorldFileAction.java
Log:
Workaround for internal error on replaceAll in String 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
17:52:06 UTC (rev 43563)
+++
trunk/esb/tests/org.jboss.tools.esb.ui.bot.test/src/org/jboss/tools/esb/ui/bot/tests/examples/HelloWorldFileAction.java 2012-09-10
18:28:46 UTC (rev 43564)
@@ -71,6 +71,8 @@
else {
/* Needed to avoid a syntax error with Windows \ dir path characters */
//baseDir =
bot.textWithLabel("Location:").getText().replaceAll(System.getProperty("file.separator"),
System.getProperty("file.separator") +
System.getProperty("file.separator")) +
System.getProperty("file.separator");
+ baseDir = bot.textWithLabel("Location:").getText();
+ System.out.println("DEBUG baseDir = " +
bot.textWithLabel("Location:").getText()) ;
baseDir =
bot.textWithLabel("Location:").getText().replaceAll(System.getProperty("file.separator"),
"zzz");
}
// if (System.getProperty("file.separator").equals("/")) {
Show replies by date