summaryrefslogtreecommitdiff
path: root/fixVersion.py
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2008-04-19 21:34:26 -0700
committerMark Spruiell <mes@zeroc.com>2008-04-19 21:34:26 -0700
commit29ad47a2c61f065fdc24e51143d7d004417aee4f (patch)
treee7740fac426e18fbb347c30e1b7fd9a2e5cfc857 /fixVersion.py
parentReverted previous bogus fix. (diff)
downloadice-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-xfixVersion.py8
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