Problem:
Environment with multiple Documentum installations, different versions, repositories with same names in different versions, etc. Cannot install software in your local machine.
Some solutions:
- One big dfc.properties / dmcl.ini with every docbroker: dmcl.ini has a limit of docbrokers (and in my experience, dfc.properties does weird things with a big number of them)
- Generate dynamically dfc.properties/dmcl.ini: “Much” coding for “nothing”
- Multiple dfc.properties/dmcl.ini with different names, renaming accordingly before launching dqMan/DQLTester: Not a big fan of dfc.properties, dfc{dev}.properties, etc and then moving the files around.
Another solution:
With a folder structure such as:
Launcher:
- launcher.bat
- properties
- env1
- dev
- dfc.properties
- dmcl.ini
- prod
- dfc.properties
- dmcl.ini
- dev
- env2
- dev
- dfc.properties
- dmcl.ini
- prod
- dfc.properties
- dmcl.ini
- dev
- env1
- etc.
Launcher.bat:
@Echo off SETLOCAL ENABLEEXTENSIONS SET dqmanfolder=<path to dqman folder> SET dqltesterfolder=<path to dqltester folder> SET folderbase=dfcproperties echo **************** echo 1. env1 dev echo 2. env2 prod ... echo **************** SET /p var= ^> Choose option: if "%var%"=="1" goto op1 if "%var%"=="2" goto op2 ... :op1 SET foldervar=%folderbase%\env1\dev goto finish :op2 SET foldervar=%folderbase%\env1\prod goto finish ... :finish set ClassPath=%cd%\%foldervar%;%ClassPath% set DMCL_CONFIG=%cd%\%foldervar%\dmcl.ini start "" /D %dqltesterfolder% /B %dqltesterfolder%\dqltester.exe start "" /D %dqmanfolder% /B %dqmanfolder%\dqman.exe cls&exit
[…] to the previous post about configuring dqMan/DQLTester (Multiple environments with dqMan/DQLTester), a Tomcat with DA can be configured the same […]
LikeLike
[…] to the previous posts about configuring dqMan/DQLTester (Multiple environments with dqMan/DQLTester) and tomcat (Multiple environments with Tomcat/DA), Composer can be launched the same […]
LikeLike