summaryrefslogtreecommitdiff
path: root/cpp/src/IcePack/Parser.cpp
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2003-04-12 00:45:49 +0000
committerBenoit Foucher <benoit@zeroc.com>2003-04-12 00:45:49 +0000
commit663438ef42029c60cb3e601fe45170a29f9b10ad (patch)
treef14949a35fd8c82df1b3796b838387204a63c491 /cpp/src/IcePack/Parser.cpp
parentfixing topic destruction bugs (diff)
downloadice-663438ef42029c60cb3e601fe45170a29f9b10ad.tar.bz2
ice-663438ef42029c60cb3e601fe45170a29f9b10ad.tar.xz
ice-663438ef42029c60cb3e601fe45170a29f9b10ad.zip
Added support for setting environment variables
Diffstat (limited to 'cpp/src/IcePack/Parser.cpp')
-rw-r--r--cpp/src/IcePack/Parser.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/cpp/src/IcePack/Parser.cpp b/cpp/src/IcePack/Parser.cpp
index 541c3e5923d..41653d40433 100644
--- a/cpp/src/IcePack/Parser.cpp
+++ b/cpp/src/IcePack/Parser.cpp
@@ -102,7 +102,7 @@ IcePack::Parser::addApplication(const list<string>& args)
string descriptor = *p++;
- ServerTargets targets;
+ StringSeq targets;
for(; p != args.end(); ++p)
{
targets.push_back(*p);
@@ -243,7 +243,7 @@ IcePack::Parser::addServer(const list<string>& args)
string descriptor = *p++;
string path;
string ldpath;
- ServerTargets targets;
+ StringSeq targets;
if(p != args.end())
{
@@ -369,6 +369,9 @@ IcePack::Parser::describeServer(const list<string>& args)
cout << "args = ";
copy(desc.args.begin(), desc.args.end(), ostream_iterator<string>(cout," "));
cout << endl;
+ cout << "envs = ";
+ copy(desc.envs.begin(), desc.envs.end(), ostream_iterator<string>(cout," "));
+ cout << endl;
}
catch(const Exception& ex)
{