Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 09-27-2004
brian brian is offline
Registered User
 
Name: brian whitney
Organization: boulder research and development
Project: MarketBank
 
Join Date: Oct 2003
Posts: 119
Defining basedir

We would like to start icepackadmin with an application file that resides in a different directory than the descriptors it contains. We would like to use the same application XML file with different sets of descriptors installed in different directories without having to explictly change the basedir attribute of an application or node element each time. We would like to set basedir dynamically as say, through an argument to icepackadmin, rather than having to change our application XML file.

Is there a way to define basedir dynamically?

We tried using icepackadmin -Dbasedir=/foo/bar/ with basedir=${basedir} in our app descriptor, but gather this is a misuse of that argument.

Thanks again,

Brian
Reply With Quote
  #2 (permalink)  
Old 09-28-2004
benoit's Avatar
benoit benoit is online now
ZeroC Staff
 
Name: Benoit Foucher
Organization: ZeroC, Inc.
Project: Ice
 
Join Date: Feb 2003
Location: Rennes, France
Posts: 1,541
Hi Brian,

It's not possible to set basedir outside the descriptor. Note that the basedir attribute doesn't exist anymore with IcePack 1.5.x (and it's also possible to define variables with the IcePack admin tool). Perhaps you should consider upgrading to the latest version!

Benoit.
Reply With Quote
  #3 (permalink)  
Old 09-28-2004
brian brian is offline
Registered User
 
Name: brian whitney
Organization: boulder research and development
Project: MarketBank
 
Join Date: Oct 2003
Posts: 119
Thanks for the reply, Benoit.

So with 1.5 we will be able to set variables using icepackadmin that can be picked up in descriptors using the ${} variable substitution? If I misread you, how would we be able to achieve the goal outlined in my previous email.

Thanks,

Brian
Reply With Quote
  #4 (permalink)  
Old 09-28-2004
benoit's Avatar
benoit benoit is online now
ZeroC Staff
 
Name: Benoit Foucher
Organization: ZeroC, Inc.
Project: Ice
 
Join Date: Feb 2003
Location: Rennes, France
Posts: 1,541
That's correct, you can setup variables with the icepackadmin tool (see section 25.8.2 of the Ice 1.5.1 manual).

Benoit.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 09:04 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.