[cvsnt] Run Eclipse formatter on check in

Glen Starrett glen.starrett at march-hare.com
Mon Mar 24 01:36:46 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.

Nick Radov wrote:
> It would be unfortunate if there is no way to do that within CVSNT. Oh well, 
> we are already considering switching source-code control systems anyway for 
> other reasons.

There actually is a couple ways, but it all depends on exactly what it 
is you're really trying to accomplish as to the best way to do it.  I'm 
not sure I understand all the details (I've only scanned the thread), 
but one example: you could use a script postcommand that would update a 
sandbox on the server, run the formatter, then commit the modified file 
-- however, that would likely be too frequent and could lead to other 
workflow problems (pretty much regardless of frequency).

Just make sure that whatever SCM system you're working with, you think 
through the update back to the client.

IMHO this would be better implemented from the client side where the 
developer can control when the reformatting happens.


Glen Starrett
Technical Account Manager, North America
March Hare Software, LLC


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