I'm using rcleartool
8.0.0.6 in windows machine. Is there any way to use rcleartool
non-interactive mode?
For example, if I type: rcleartool lsview -s
, the client will ask me to input Server URL, username/password in interactive mode.
Is there anyway to use rcleartool lsview -s -username [username] -pass [password] -server [server]
?
I want to use that command in my java code, so non-interactive mode should be better?
Any suggestions?
ClearTeam 8.x
As mentioned in "The ClearCase 8.x remote client command-line interface (
rcleartool
)":rcleartool login
wasn't caching credentials before (7.x).It should cache those credential now.
The CR 3508 mentions that enhancement has been delivered June 14th 2013 the RFE (Request for Enhancement):
Session caching for
rcleartool
was delivered in 8.0.0.3That means after one
rcleartool login -lname xxx -server xxx -password xxx
, all otherrcleartool
commands shouldn't need login/password anymore.ClearCase 7.x
You can try and follow the IBM article "How to run rcleartool without entering username, password and server URL every time"
It suggests modifying the
rcleartool.bat
script.Cause
Answer