Gigi;
I would imagine that you need more than user/pswd to login to your vcs repository, you need to specify where the repository is located (address) and so on. I use following to login in to VCS and do the build:
“C:\Program Files\TigerLogic\OS6.1.3RT\omnis.exe” “C:\ActionVcsBuilderO$613\VcsBuilder.lbs” /options=C:\\ActionVcsBuilderO$613\\automation\\build_janushttp.ini
I have the above command in BAT file that allows me to execute the above and many more other commands.
The above command has 3 parts:
Part 1: the path to the omnis executable that needs to be launched
Part 2: path to the library responsible for the VCS login and the build process
Part 3: options prefixed with “/” that can supply specific information to the “vcsbuilder.lbs”, in this case the “ini” file storing information about the VCS and the library to build
The “ini” file is following typical name value pair convention. The “vcsbuilder.lbs” upon launch finds the “ini” file, parses it, then connects to VCS and does the build of the specified library project.
Btw, I am not aware of any “standard” parameters that you can use with omnis.exe to achieve the above. The library you launch can do anything you need as it is in developer domain.
Greg