fix up httpclient example, working on windows export problem

This commit is contained in:
benfry
2011-05-15 21:26:23 +00:00
parent b2622cb027
commit 076051518b
3 changed files with 21 additions and 3 deletions

View File

@@ -1519,8 +1519,12 @@ public class JavaBuild {
int offset = sketch.getFolder().getAbsolutePath().length() + 1;
for (String path : dataFiles) {
if (Base.isWindows()) {
System.out.println("base is windows");
//dataFiles[i] = dataFiles[i].replace('\\', '/');
path = path.replace('\\', '/');
System.out.println("new path is " + path);
} else {
System.out.println("base NOT windows");
}
//File dataFile = new File(dataFiles[i]);
File dataFile = new File(path);