diff options
author | Benoit Foucher <benoit@zeroc.com> | 2002-08-27 21:40:39 +0000 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2002-08-27 21:40:39 +0000 |
commit | ebc562c8cd11a38b5bcecfc25d90ce5474957e95 (patch) | |
tree | cc32f92dc4b496e196f9916882d1a2b2bb0c9ad3 /cpp/src | |
parent | dependency fixes for IceXML (diff) | |
download | ice-ebc562c8cd11a38b5bcecfc25d90ce5474957e95.tar.bz2 ice-ebc562c8cd11a38b5bcecfc25d90ce5474957e95.tar.xz ice-ebc562c8cd11a38b5bcecfc25d90ce5474957e95.zip |
Removed debug cout.
Diffstat (limited to 'cpp/src')
-rw-r--r-- | cpp/src/IcePack/AdminI.cpp | 2 | ||||
-rw-r--r-- | cpp/src/IcePack/ServerDeployerI.cpp | 49 |
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 |