How to work around lock when creating a changeset when using scmtools in java application?
I am trying to create a change set by running command line tasks on a java application. Is there a way work around this? I am running the application from eclipse.
This is how I am creating the change set.
scm create changeset -r REPOSITORY_URL -w WORKSPACE_NAME --component Standard
This is the error that I'm getting.
Could not initialize data area. Could not lock C:\****- locked by other process.
Thanks.
Accepted answer
Are you performing these operations on the Eclipse workspace? Or even on the RTC sandbox that has been loaded with the RTC Eclipse client?
You might get some success in figuring out what's locking the data area by using a process explorer. Then you can see if Eclipse or RTC really needs that lock or if something in your application is unnecessarily obtaining the lock.