Archived

This forum has been archived. Please start a new discussion on GitHub.

Patch #3 for Ice 3.1.0: restore setDefaultContext

bernard
bernard Jupiter, FL
Please find attached patch #3 for Ice 3.1.0: it restores Ice::setDefaultContext which was removed accidently between 3.0.1 and 3.1.0. The attached archive contains source-patches for all affected language mappings (C++, Java, C# and Python).

This patch is binary-compatible and cumulative:
- in the event you have built and deployed an application with Ice 3.1.0, you can apply this patch to Ice 3.1.0 and replace the Ice binaries (shared libraries/DLLs/jar file etc) without rebuilding your application.
- it includes patch #1 for Ice 3.1.0
- it does not include patch #2 for Ice 3.1.0, since patch #2 is not binary compatible

How to apply this patch:

- download the Ice source distribution(s) you're interested in from http://www.zeroc.com/download.html

- extract the files from the attached .tar.gz:
$ tar xzvf ice310-3.tar.gz

- For C++ on Linux/Unix:
$ tar xzvf Ice-3.1.0.tar.gz
$ cd Ice-3.1.0
$ patch -p0 < ~/ice310-3.patch
then follow the regular build procedure

- For C++ on Windows in a cygwin shell:
$ tar xzvf Ice-3.1.0.tar.gz
$ cd Ice-3.1.0
$ patch --binary -p0 < ~/ice310-3.patch
then follow the regular build procedure

- For Java on Linux/Unix or on Windows with cygwin
$ tar xzvf IceJ-3.1.0-java?.tar.gz
$ cd IceJ-3.1.0
$ ant clean
$ patch -p0 < ~/icej310-3.patch
then follow the regular build procedure

- For C# on Linux/Unix or on Windows with cygwin
$ tar xzvf IceCS-3.1.0.tar.gz
$ cd IceCS-3.1.0
$ patch -p0 < ~/icecs310-3.patch
then follow the regular build procedure

- For Python on Linux/Unix or on Windows with cygwin
$ tar xzvf IcePy-3.1.0.tar.gz
$ cd IcePy-3.1.0
$ patch -p0 < ~/icepy310-3.patch
then follow the regular build procedure

Best regards,
Bernard