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

Preserve File timestamps when accepting file in RTC build

I am using RTC 6.0.3.
I know when loading files using RTC 6.0.3 client, the user can now specify that they would like the timestamp from the file in the repository to be used as the timestamp on disk.

Can I preserve the timestamp when accepting and loading files from the stream into the build workspace
by using the "Source Control" tab of the build definition, as loading in the Eclipse client?

TIA.

0 votes


Accepted answer

Permanent link
In RTC 6.0.3 the ability to load and preserve timestamps was added in:

You need to use the build property: 'team.scm.preserveFileTimestamps = true'
Shinobu Ishida selected this answer as the correct answer

1 vote

Comments

Thanks, David!

I set 'team.scm.preserveFileTimestamps = true' to the build property.

All time stamps were retained in the initial build loading. However, the time stamp is not retained for a accepted file while repeating the build.
In the acceptance option of the build definition, "Accept the latest change before loading" is selected, and the directory in the build workspace has not been deleted at the time of loading.

Any Help is appreciated.
Thanks.

Feel free to look at the following work item and see if it is similar:
https://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.viewWorkItem&id=451568

You can comment on that one, or even open a new work item (since that one was specifically about the Shell client, and not the Build).

Thanks, David. I understand this is as designed!

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
× 12,019
× 562
× 57

Question asked: Jun 21 '18, 4:22 a.m.

Question was seen: 2,660 times

Last updated: Aug 02 '18, 4:19 a.m.

Confirmation Cancel Confirm