AI 146771: am: CL 146770 ADT #1797369 fix error "ant windows: com.android.ant.SetupTask cannot be found"
The path in local.properties should be double-backslashed. Original author: raphael Merged from: //branches/cupcake/... Automated import of CL 146771
This commit is contained in:
committed by
The Android Open Source Project
parent
2e82cdc301
commit
08bb0ab656
@@ -241,7 +241,9 @@ public final class ProjectProperties {
|
|||||||
if (comment != null) {
|
if (comment != null) {
|
||||||
writer.write(comment);
|
writer.write(comment);
|
||||||
}
|
}
|
||||||
writer.write(String.format("%s=%s\n", entry.getKey(), entry.getValue()));
|
String value = entry.getValue();
|
||||||
|
value = value.replaceAll("\\\\", "\\\\\\\\");
|
||||||
|
writer.write(String.format("%s=%s\n", entry.getKey(), value));
|
||||||
}
|
}
|
||||||
|
|
||||||
// close the file to flush
|
// close the file to flush
|
||||||
|
|||||||
Reference in New Issue
Block a user