Author: [email protected]
Date: Wed Mar 18 14:36:41 2009
New Revision: 5043
Modified:
trunk/build-tools/ant-gwt/src/com/google/gwt/ant/taskdefs/SvnInfo.java
Log:
Fix sentinal file names for change branches.
Patch by: bobv
Review by: scottb (per IM conversation, TBR)
Modified:
trunk/build-tools/ant-gwt/src/com/google/gwt/ant/taskdefs/SvnInfo.java
==============================================================================
--- trunk/build-tools/ant-gwt/src/com/google/gwt/ant/taskdefs/SvnInfo.java
(original)
+++ trunk/build-tools/ant-gwt/src/com/google/gwt/ant/taskdefs/SvnInfo.java
Wed Mar 18 14:36:41 2009
@@ -282,7 +282,7 @@
getProject().setNewProperty(outprop, info.branch + "@" +
info.revision);
if (fileprop != null) {
getProject().setNewProperty(fileprop,
- info.branch + "-" + info.revision.replaceAll(":", "-"));
+ info.branch.replace('/', '-') + "-" +
info.revision.replace(':', '-'));
}
}
--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~----------~----~----~----~------~----~------~--~---