summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2002-08-27 21:40:39 +0000
committerBenoit Foucher <benoit@zeroc.com>2002-08-27 21:40:39 +0000
commitebc562c8cd11a38b5bcecfc25d90ce5474957e95 (patch)
treecc32f92dc4b496e196f9916882d1a2b2bb0c9ad3 /cpp
parentdependency fixes for IceXML (diff)
downloadice-ebc562c8cd11a38b5bcecfc25d90ce5474957e95.tar.bz2
ice-ebc562c8cd11a38b5bcecfc25d90ce5474957e95.tar.xz
ice-ebc562c8cd11a38b5bcecfc25d90ce5474957e95.zip
Removed debug cout.
Diffstat (limited to 'cpp')
-rw-r--r--cpp/src/IcePack/AdminI.cpp2
-rw-r--r--cpp/src/IcePack/ServerDeployerI.cpp49
2 files changed, 21 insertions, 30 deletions
diff --git a/cpp/src/IcePack/AdminI.cpp b/cpp/src/IcePack/AdminI.cpp
index 3925927144a..a98bbc7fcea 100644
--- a/cpp/src/IcePack/AdminI.cpp
+++ b/cpp/src/IcePack/AdminI.cpp
@@ -58,8 +58,6 @@ void
IcePack::AdminI::removeServer(const string& name, const Current&)
{
ServerPrx server = _serverRegistry->findByName(name);
- cout << _communicator->proxyToString(server) << endl;
-
try
{
ServerDescription desc = server->getServerDescription();
diff --git a/cpp/src/IcePack/ServerDeployerI.cpp b/cpp/src/IcePack/ServerDeployerI.cpp
index 271b0158738..0aa48dff273 100644
--- a/cpp/src/IcePack/ServerDeployerI.cpp
+++ b/cpp/src/IcePack/ServerDeployerI.cpp
@@ -30,35 +30,28 @@ void
IcePack::ServerDeployerI::add(const string& name, const string& descriptor, const string& binPath,
const string& libPath, const Targets& targets, const Ice::Current&)
{
- try
- {
- map<string, string> variables;
- variables["name"] = name;
- variables["binpath"] = binPath;
- variables["libpath"] = libPath;
+ map<string, string> variables;
+ variables["name"] = name;
+ variables["binpath"] = binPath;
+ variables["libpath"] = libPath;
- //
- // Component path is used to identify the component. For example:
- // node1.server1.service3
- //
- string componentPath = _nodeInfo->getNode()->getName() + "." + name;
-
- ServerBuilder builder(_nodeInfo, variables, componentPath, targets);
-
- //
- // Parse the server deployment descriptors.
- //
- builder.parse(descriptor);
-
- //
- // Execute the builder tasks.
- //
- builder.execute();
- }
- catch(const Ice::LocalException& ex)
- {
- cout << "uknown local exception: " << ex << endl;
- }
+ //
+ // Component path is used to identify the component. For example:
+ // node1.server1.service3
+ //
+ string componentPath = _nodeInfo->getNode()->getName() + "." + name;
+
+ ServerBuilder builder(_nodeInfo, variables, componentPath, targets);
+
+ //
+ // Parse the server deployment descriptors.
+ //
+ builder.parse(descriptor);
+
+ //
+ // Execute the builder tasks.
+ //
+ builder.execute();
}
void