ClearCase Connector sync engine startup scripts?
In the ClearCase Connector help, the following paragraph appears:
*Where* exactly do the scripts get created? I want to run them at computer startup (as described) so we don't have to have a user logged into the synchronization host, but can't seem to find the scripts. Thanks in advance, Mike Johnson |
4 answers
OK, scratch that. I found the files under the users\<userdir>\ClearCaseConnector directory. Now my next question -- since this has to run under a particular user account, how would you configure this to run at machine startup? Do you guys install a Windows service that runs the batch file, and then set the service to run automatically?
Thanks, Mike |
Geoffrey Clemm (30.1k●3●30●35)
| answered Jul 28 '09, 4:42 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Yes, one would create a Windows service that runs this batch file. Note
that you have to create that Windows service yourself (the ClearCase Connector wizard only creates the script, not the Windows service). Cheers, Geoff micjohnson997 wrote: OK, scratch that. I found the files under the |
Yes, one would create a Windows service that runs this batch file. Note OK, back to this one again. We tried to run the one of the synchronizer startup scripts as a Windows service. It failed, and of course now that I think about it, Windows services have to conform to several things -- like they need to respond to startup and shutdown commands, etc., sent by the OS. Obviously a batch file will not fit the bill here :) So has anyone actually configured a cc synchronization startup script to run at system boot time somehow? I am now at a loss as to how to do this, other than I think I might be able to write a Visual Studio project that can then start it up. Seems like this problem would have to be solved already, though... I can't be the first one that wants to automatically start CC-RTC sync engines?? Thanks, Mike |
Geoffrey Clemm (30.1k●3●30●35)
| answered Jul 30 '09, 5:01 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Take a look at http://jazz.net/wiki/bin/view/Main/JbeAsAWindowsService
(and let me know if that didn't help). Cheers, Geoff micjohnson997 wrote: gmclemmwrote: |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.