Does RTC add bytes to files when they are checked in?? If so can this behavior be controlled?
Hello,
I'm checking in XML files into RTC and I notice that the file size increases slightly after the checkin. This is causing me some unexpected results when comparing files sizes to the original files that are given to me via an end user. Is this expected behavior? Can I turn this behavior off? What exactly is being added to these files?
Thanks much,
Tim Hague
I'm checking in XML files into RTC and I notice that the file size increases slightly after the checkin. This is causing me some unexpected results when comparing files sizes to the original files that are given to me via an end user. Is this expected behavior? Can I turn this behavior off? What exactly is being added to these files?
Thanks much,
Tim Hague
Accepted answer
The eclipse preference setting only affects new file. It would not apply to existing files. If you want to change the line ending delimiter for existing files, you need to change the delimiter setting for each individual files (by select each file -> team -> change file properties...). After you changed the file properties, you need to check in your changes.
2 other answers
It looks like only XML and yes it appears to be a consistent amount that's added...
Comments
Do you notice what has been changed in the file? Is it the line ending characters? If that is the case, then there is a line ending character setting for the file. If you do not want RTC to change the line ending delimiter, you can either set the file ending character to None or the format matches to the file that was checked in.
Thanks for the advice, I'm trying to update this via preferences but I'm still seeing the byte changes. Below is what I tried:
Windows>Preferences>Team>Jazz Source Control> File Properties>Text>XML>*.xml set Line Delimiter to "None (Binary)" and select Apply and Ok...restarted the workbench. When I import the original file and checkin again I'm still seeing the same behavior...any hints?
Thanks very much for your help so far...
Windows>Preferences>Team>Jazz Source Control> File Properties>Text>XML>*.xml set Line Delimiter to "None (Binary)" and select Apply and Ok...restarted the workbench. When I import the original file and checkin again I'm still seeing the same behavior...any hints?
Thanks very much for your help so far...
Comments
Remy Suen
Aug 20 '13, 2:12 p.m.Does this only happen with XML files? Is the numerical increase in file size consistent across all your files?