Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

add header information to source code upon delivery for RTC 6.0.3

I am relatively new to RTC.

I am porting ClearCase code (C, CPP) to RTC.
OS is UNIX, LINUX.

There is a requirement that executable contain check-in information for each file.
A string command is performed to list all source code files that were used to build executable.

In the ClearCase configuration process, a string header is added to each source code file.
The header include the following information.
    Name of file
    Path of file.
    Check-in status ( checked-in/check-out)
   Check-in date.
   Coder's id.
   etc.

In RTC this header should be added when:
    code files are copied to sandbox
    code files are delivered.

How would one implement this capability in RTC?

0 votes



One answer

Permanent link

 I am not aware of a feature in RTC, that would generate information into source code files under SCM, if that is what you ask for. 


 The information you ask for is in the SCM data, but there are no macros etc available to generate them into files like very classic UNIX scm tools supported.

0 votes

Comments

Thanks for you reply. 


I found this post which enables addition of static text using pre-condition.

It is possible to extend SDK precondition to add SCM data?


An advisor must only allow or prevent, not modify. A follow up can not modify the code without a new check in. I think no. 

If not possible on delivery, is modify possible on check-in?

Your answer

Register or log in to post 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 6,132

Question asked: Sep 18 '17, 11:21 a.m.

Question was seen: 1,824 times

Last updated: Sep 23 '17, 7:09 a.m.

Confirmation Cancel Confirm