summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2005-06-03 15:58:00 +0000
committerMark Spruiell <mes@zeroc.com>2005-06-03 15:58:00 +0000
commitc745df71a46be1af9917391daba27719b144be15 (patch)
treee9dc0967387013ef87b394bd81caa80fc4ae8019 /cpp
parentadding Ice.Compression.Level (diff)
downloadice-c745df71a46be1af9917391daba27719b144be15.tar.bz2
ice-c745df71a46be1af9917391daba27719b144be15.tar.xz
ice-c745df71a46be1af9917391daba27719b144be15.zip
fix for bug 307
Diffstat (limited to 'cpp')
-rwxr-xr-xcpp/demo/IcePatch2/MFC/README37
1 files changed, 19 insertions, 18 deletions
diff --git a/cpp/demo/IcePatch2/MFC/README b/cpp/demo/IcePatch2/MFC/README
index ea4570475a3..42740916452 100755
--- a/cpp/demo/IcePatch2/MFC/README
+++ b/cpp/demo/IcePatch2/MFC/README
@@ -1,34 +1,35 @@
This demo illustrates how to use MFC to create a simple IcePatch2
client application.
-The IcePatch2 server must be running before the client can patch, but
-a data directory must be prepared in order to run the server. The
-contents of the data directory are what the client will receive during
-the patch process. For convenience, this example uses its own source
-files as the data to be patched.
+In order to use this demo, you must first prepare a sample data
+directory for the IcePatch2 server. The contents of the data
+directory are what the client will receive during the patch process.
+For convenience, this example uses its own source files as the data
+to be patched.
-Assuming that the current working directory is demo/IcePatch2/MFC, you
-can prepare the data files with the following command:
+Assuming that your current working directory is demo/IcePatch2/MFC,
+you can prepare the data files with the following command:
-$ icepatch2calc .
+> icepatch2calc .
-Next, start the IcePatch2 server:
+Next, start the IcePatch2 server. Note that the trailing "." argument
+in the following command is required and directs the server to use the
+current directory as its data directory:
-$ icepatch2server --IcePatch2.Endpoints="tcp -h 127.0.0.1 -p 10000" .
-
-The last argument (".") tells the server to use the current directory
-as its data directory.
+> icepatch2server --IcePatch2.Endpoints="tcp -h 127.0.0.1 -p 10000" .
Before we start the patch client, we must first create an empty
-directory where the downloaded files will be placed. For example, you
-can use:
+directory where the downloaded files will be placed. For example, open
+a new command window and execute this command:
-$ mkdir $HOME/icepatch_download
+> mkdir C:\icepatch_download
Now you can start the IcePatch2 client:
-$ patch --IcePatch2.Endpoints="tcp -h 127.0.0.1 -p 10000"
+> patch --IcePatch2.Endpoints="tcp -h 127.0.0.1 -p 10000"
Click the "..." button to the right of the Patch Directory field and
select the empty directory you just created. Then click the "Patch"
-button to begin the patch process.
+button to begin the patch process. The first time you click this
+button you will be prompted to confirm that you want to perform a
+thorough patch (because the target download directory is empty).