[cvsnt] Run Eclipse formatter on check in

Alexey Panchenko alex.panchenko at gmail.com
Tue Mar 4 02:12:44 GMT 2008

Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.

On 3/3/08, Nick Radov <nradov at axolotl.com> wrote:
> Not everyone is using Eclipse. We would like to integrate the Eclipse
> formatter with CVSNT in order to maintain a consistent code style
> regardless
> of which editor each developer is using.
If each developer have its own version of code - they will be getting merge
conflicts if they modify the same file, diffs will be unusable, etc.

It is organizational problem - so it is not correctly to solve it by
technical means.

It would be better to do some of the following:
a) document codу style and publish formatter settings for most popular IDEs,
so the user just import it.
b) force all developers to use the same tools with identical code style
c) add some tool checking format rules (e.g. checkstyle) to the nightly

The triggers from commitinfo are executed beforу the commit, but I am not
sure if it is supported if they would modify commited files. It is designed
so it can just reject files if they do not meet some criteria.


More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook