Siebel Tools Check In with Source Control Integration (srcctrl.bat) is Executed Two Times when Checking In a Project. Siebel Tools Should run Source Control Batch File One Time When Checking In Projects.
(Doc ID 2161705.1)
Last updated on JULY 17, 2021
Applies to:Siebel Tools - Version 15.9 [IP2015] and later
Information in this document applies to any platform.
Relevance Check July 16, 2018
On : 15.3 [IP2015] version, Configuration - Dev Env
After upgrading Siebel to 15.3 from Siebel 184.108.40.206, we needed to change the srcctrl.bat to work with a different source control application. The source control application software used to be VSS but the company is now using Team Foundation Server (TFS) for Source Control. The srccrtl.bat was updated accordingly but when a Project is checked into the server in Siebel Tools, the srcctrl.bat file is executed twice. The second time the batch file is executed, the checkin to the source control fails because the project.sif file has no differences from the project.sif file already in the source control application.
As a recap here is the process flow:
-File gets checked out from Siebel Server and .sif file is created in C:\Siebel\220.127.116.11.0\Tools\temp\Objects. File shows as 'checked out' in TFS
-Select 'check in object' in Siebel Tools and enter comments.
-.sif file is removed from C:\Siebel\18.104.22.168.0\Tools\temp\Objects
-'checkin' & 'checkout' is called as 2 command line windows open
-'checkout' gets invoked first as the .sif file reappears in the Objects directory
-'checkin' is invoked but since the file is the same as in TFS message 'The following changes were not checked in because the items were not modified.
Undoing edit: c:\Siebel\22.214.171.124.0\Tools\temp\Objects\Business_Service-ABO_Bulk_Request_Explode_Service.sif' is received in xml.log.
Why does the srccrtl bat file get run two times when checking in the project to the server?
The srccrtl.bat log file shows that the batch file is run two times when a project or projects are checked in.
The issue can be reproduced at will with the following steps:
1. Set up a local Siebel Tools Developer database and do a full get from the server repository.
2. It is not necessary to have a source control software application to reproduce the fact that srcctrl.bat is executed two times when doing a single check in of a project to the server.
3. Change the srcctrl.bat file so that the LOG variable points to a valid file name.
4. Check out a project and then check it back into the server.
5. Review the log file and note that the log file has the logging from the srcctrl.bat file being executed two times.
This behavior was found after upgrading to Siebel 15.13 from Siebel 126.96.36.199
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document