posted 20 years ago
Howdy all,
I need some helps in running cleartool commands from inside a Java class. Cleartool is an internal command of IBM's Rational ClearCase repository software. The constraint that these commands have is that they should be executed under the mounted drive of ClearCase (in my case, it is under my M: drive). For example, to be able to run the "lshistory" command against foo.java, I should type "cleartool lshistory foo.java" under M: prompt.
I know that I should use the Runtime's exec() method. I've tried the following, but I still don't get what I want.
Theoritically, "inline" should contain the result of lshistory. But, in this instance, inline has a null.
Any helps will be greatly appreciated.
Regards,