diff options
author | Benoit Foucher <benoit@zeroc.com> | 2002-07-24 04:34:07 +0000 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2002-07-24 04:34:07 +0000 |
commit | 672d63bd33ccb7da1d5282c4913a426f7af6b884 (patch) | |
tree | dba86e2b2ed24e75cfb94a69e80be9894890c73b /cpp/src/IcePack/ServerDeployer.cpp | |
parent | Test IcePack only on Linux (diff) | |
download | ice-672d63bd33ccb7da1d5282c4913a426f7af6b884.tar.bz2 ice-672d63bd33ccb7da1d5282c4913a426f7af6b884.tar.xz ice-672d63bd33ccb7da1d5282c4913a426f7af6b884.zip |
Added support for basedir attribute
Diffstat (limited to 'cpp/src/IcePack/ServerDeployer.cpp')
-rw-r--r-- | cpp/src/IcePack/ServerDeployer.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/cpp/src/IcePack/ServerDeployer.cpp b/cpp/src/IcePack/ServerDeployer.cpp index 1d6d7fa149b..2f79d26c572 100644 --- a/cpp/src/IcePack/ServerDeployer.cpp +++ b/cpp/src/IcePack/ServerDeployer.cpp @@ -103,6 +103,12 @@ IcePack::ServerDeployHandler::startElement(const XMLCh *const name, AttributeLis if(str == "server") { + string basedir = getAttributeValueWithDefault(attrs, "basedir", ""); + if(!basedir.empty()) + { + _deployer.overrideBaseDir(basedir); + } + string kind = getAttributeValue(attrs, "kind"); if(kind == "cpp") { @@ -126,7 +132,6 @@ IcePack::ServerDeployHandler::startElement(const XMLCh *const name, AttributeLis _deployer.addProperty("IceBox.ServiceManager.Endpoints", getAttributeValue(attrs, "endpoints")); _deployer.createConfigFile("/config/config_icebox"); } - } else if(str == "service") { |