Source formatting issues while maintaining code
"Tushar Joshi" <[email protected]> Sun, 23 Nov 2008 15:12:30 -0000
| Newsgroups | gmane.comp.programming.language-of-the-year |
|---|---|
| Message-ID | <[email protected]> |
Hi, I am currently involved in a project which has a 8 years old code base. New functionalities and some updates to the old code are usually done each day with a decentralized team distributed across the world (India, UK, NZ, USA) In the review process if the code is kept with the same formatting it becomes easy to check what was added or changed just by a CVS diff. (SCM is CVS, No JUnit, Java 1.4 so no annotations etc) The editor features like Auto formatting the code like in Eclipse and NetBeans mess up the diff program and hence we have made a policy not to use any auto formatting tool on any code which is already committed to the CVS. I want your views about handling any similar issues with old code base. We have to live with this code base as it is working and deployed in multiple client production servers. Have any one implemented any creative method to solve this problem? with regards Tushar Tushar Joshi http://www.tusharvjoshi.com