if ($^O eq "MSWin32" ) { $OD_DIR = &canonicalizePath($ENV{IWOD60HOME}); $PATH_SEPERATOR = "\\";} else { # reads the /etc/defaultiwod60home file to get the ODHOME $PATH_SEPERATOR = "/"; my($odhomeConfigFile)="/etc/defaultiwod60home"; if ( ! (-r "$odhomeConfigFile") ) { debug("$dbgInfo", " Unable to find the $odhomeConfigFile '\n"); # ::TODO:: probably should callback-and-die here } open (READIN, "<$odhomeConfigFile"); while () { chomp($_); $OD_DIR = $_; last; } close READIN;
Hi,I know you can specify "//IWSERVER" as a special token in a deployment configuration's area="...." attribute and OpenDeploy will magically replace it with the right mount point for the backing store (e.g. "Y:/")Is there an equivalent magic token for the "$odhome" localtion (e.g. "C:/Interwoven/OpenDeployNG") ??This would be super handy for filelist deployments where one's external processes are creating all sorts of filelist-$jobid.txt files under the $ODHOME/tmp directory. To paramaterize the OD configuration, you wouldn't need to specify something like "-k $filelist_loc=C:/Interwoven/OpenDeploy/tmp/filelist-123.txt", you could just 'hardcode' the "//ODHOME" magic key in your configuration file and then have a more portable "-k $filelist_loc=tmp/filelist-123.txt" parameter.Anything like that exist?