summaryrefslogtreecommitdiff
path: root/cpp/src/IcePatch/Server.cpp
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2002-04-05 03:45:23 +0000
committerMarc Laukien <marc@zeroc.com>2002-04-05 03:45:23 +0000
commitc92972c738d538caca10fe31921d577c1f70ea4f (patch)
treede87b66756095437699460c062a4f8f91ab6a239 /cpp/src/IcePatch/Server.cpp
parentmore IcePatch stuff (diff)
downloadice-c92972c738d538caca10fe31921d577c1f70ea4f.tar.bz2
ice-c92972c738d538caca10fe31921d577c1f70ea4f.tar.xz
ice-c92972c738d538caca10fe31921d577c1f70ea4f.zip
more IcePatch stuff
Diffstat (limited to 'cpp/src/IcePatch/Server.cpp')
-rw-r--r--cpp/src/IcePatch/Server.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/cpp/src/IcePatch/Server.cpp b/cpp/src/IcePatch/Server.cpp
index 10db1b9db92..371e72a9b0f 100644
--- a/cpp/src/IcePatch/Server.cpp
+++ b/cpp/src/IcePatch/Server.cpp
@@ -10,6 +10,7 @@
#include <Ice/Application.h>
#include <IcePatch/NodeLocator.h>
+#include <IcePatch/Util.h>
using namespace std;
using namespace Ice;
@@ -90,6 +91,20 @@ IcePatch::Server::run(int argc, char* argv[])
}
//
+ // Create MD5 and BZ2 files.
+ //
+ try
+ {
+ createMD5Recursive(".");
+ createBZ2Recursive(".");
+ }
+ catch (const NodeAccessException& ex)
+ {
+ cerr << appName() << ": " << ex << ":\n" << ex.reason << endl;
+ return EXIT_FAILURE;
+ }
+
+ //
// Create and initialize the object adapter and the node locator.
//
ObjectAdapterPtr adapter = communicator()->createObjectAdapterFromProperty("IcePatch", endpointsProperty);