diff options
Diffstat (limited to 'cpp/src/IcePack/ApplicationDeployer.cpp')
-rw-r--r-- | cpp/src/IcePack/ApplicationDeployer.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cpp/src/IcePack/ApplicationDeployer.cpp b/cpp/src/IcePack/ApplicationDeployer.cpp index 28384fec7ca..19cbcf3e8c5 100644 --- a/cpp/src/IcePack/ApplicationDeployer.cpp +++ b/cpp/src/IcePack/ApplicationDeployer.cpp @@ -142,8 +142,7 @@ IcePack::ApplicationDeployer::addServer(const string& name, throw DeploySAXParseException("descriptor attribute value is empty", _locator); } - string xmlFile = descriptor[0] != '/' ? _variables["basedir"] + "/" + descriptor : descriptor; - - _tasks.push_back(new AddServer(_admin, name, xmlFile, binpath, libpath, _targets)); + _tasks.push_back(new AddServer(_admin, name, toLocation(descriptor), toLocation(binpath), toLocation(libpath), + _targets)); } |