Archived
This forum has been archived. Please start a new discussion on GitHub.
Defining basedir
brian
in Help Center
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
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
0
Comments
-
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.0
