How to override settings in workbench.ini and config.ini from command prompt
Document ID :
Last Modified Date :
Show Technical Document Details
CA Harvest Software Change Manager
CA HARVEST SCM PLUG-IN FOR ECLIPSE:HECLIP
We are moving forward with putting Windows 10 on our developer boxes, but for some reason Harvest maps the user location to some place on the network, which causes Harvest to not work.
This can be mitigated by changing the following lines in the config.ini file in
For some reason, while logged in as admin, these correctly go to the
<<username>> directory, but while logged in as a normal user, as I said before, these go off to the network.
I can hardcode these locations as such:
And it works. However, this means that every user is using the same workspace, which isn’t ideal.
I’ve tried to use the following instructions for eclipse to code a variable in there, but I’m having issues:
What I end up with is something like osgi.configuration.area= $LOCALAPPDATA$/.cascm/configuration but when I open Harvest, it doesn’t substitute the $LOCALAPPDATA$ with the windows environmental variable.
Is there anything you can share that might shed light on what to do in this situation?
CA Harvest SCM client v12.x and up
Something you can do to make the .cascm folder appear in an alternate location, specific for each user, is override the settings in the config.ini and workbench.ini files from the command prompt. So, for example, if you went to the "Properties" window for the Workbench shortcut on the desktop and replaced
Files\CA\SCM\workbench.exe"-data c:/temp/%USERNAME%/.cascm/workspace -configuration c:/temp/%USERNAME%/.cascm/configuration -eclipse.keyring c:/temp/%USERNAME%/.cascm/keyring.txt
the .cascm folders for your users would wind up in the
<their userid> folder instead of
More information on command line options for Eclipse-based applications can be found here:
Was this information helpful?