diff options
author | Mark Spruiell <mes@zeroc.com> | 2008-04-19 21:34:26 -0700 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2008-04-19 21:34:26 -0700 |
commit | 29ad47a2c61f065fdc24e51143d7d004417aee4f (patch) | |
tree | e7740fac426e18fbb347c30e1b7fd9a2e5cfc857 /fixVersion.py | |
parent | Reverted previous bogus fix. (diff) | |
download | ice-29ad47a2c61f065fdc24e51143d7d004417aee4f.tar.bz2 ice-29ad47a2c61f065fdc24e51143d7d004417aee4f.tar.xz ice-29ad47a2c61f065fdc24e51143d7d004417aee4f.zip |
bug 3006 - providing Ice version in various mappings
Diffstat (limited to 'fixVersion.py')
-rwxr-xr-x | fixVersion.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/fixVersion.py b/fixVersion.py index 2d501e0cdd8..7dc5ba5ff9f 100755 --- a/fixVersion.py +++ b/fixVersion.py @@ -298,6 +298,10 @@ if not patchIceE: [("ICE_STRING_VERSION = \"" + vpatMatch +"\"", version), \ ("ICE_INT_VERSION = ([0-9]*)", intVersion(version))]) + fileMatchAndReplace(os.path.join(icej_home, "src", "Ice", "Util.java"), + [("return \"" + vpatMatch +"\".*A=major", version), \ + ("return ([0-9]*).*AA=major", intVersion(version))]) + fileMatchAndReplace(os.path.join(icej_home, "demo", "IceStorm", "clock", "config.icebox"), [("IceStormService,([0-9]+b?)", soVersion(version))]) @@ -327,6 +331,10 @@ if not patchIceE: majorVersion(version) + "." + minorVersion(version) + "." + patchVersion(version))], False) # Disable warnings as many files might not have SSL configuration + fileMatchAndReplace(os.path.join(icecs_home, "src", "Ice", "Util.cs"), + [("return \"" + vpatMatch +"\".*A=major", version), \ + ("return ([0-9]*).*AA=major", intVersion(version))]) + # # Fix version in VB sources |