-
Notifications
You must be signed in to change notification settings - Fork 1
Usage
git-to-clearcase is easy to run. Suppose that you have:
- git command line executable installed somewhere
- cleartool command line executable installed elsewhere
You need two more pieces of information:
- path of your git repository
- path of the source code directory within a ClearCase UCM view It would be appreciated if both repository and view were dedicated exclusively to git-to-clearcase.
Then, just call git-to-clearcase:
java -jar git-to-clearcase-1.2 --git c:\cmd\git\git.exe --repo c:\git\project-repository --ct c:\cmd\clearcase\bin\cleartool.exe --view c:\ccviews\project\source
For the first time, I also would recommend adding the parameters --configure --update --clean --reset
, just to ensure that both repository and view are in a consistent state.
For the lazy, git-to-clearcase may read a property file that holds all the boring configuration:
java -jar git-to-clearcase-1.2 --properties myconfig.properties
.
There are further command line arguments. Call java -jar git-to-clearcase-1.2 --help to learn more or read the additional documentation.