way to trigger external code formatter upon CVS checkin

any way to do this? Specifically, I'd like to hava a Jalopy plugin invoked
automatically just prior to every CVS checkin.

thanks,
Ian


0
5 comments
Avatar
Permanently deleted user

Usually you do this on the other end - have CVS run Jalopy .

0
Avatar
Permanently deleted user

Ian P. Springer wrote:

any way to do this? Specifically, I'd like to hava a Jalopy plugin invoked
automatically just prior to every CVS checkin.


Look into the cvswrappers file (it's in the repository in the special
'CVSROOT' module). It allows you to do stuff like that - but note that
this is a server-side operation, i.e. you would have to install jalopy
in the machine hosting cvs.
In the past we tried this approach as well - it's not as useful as it
appears... :-/

Regards,
Edwin

0
Avatar
Permanently deleted user

"Ian P. Springer" <ian.springer@hp.com> wrote in message
news:ccens8$sg0$1@is.intellij.net...
| any way to do this? Specifically, I'd like to hava a Jalopy plugin
invoked
| automatically just prior to every CVS checkin.
|
| thanks,
| Ian
|

thanks for the server tips, but unfortunately our CVS server is hosted
offsite by Collabnet, and getting them to make changes like that is like
pulling teeth. any ideas on how to do it on the IntelliJ side?


0
Avatar
Permanently deleted user

Am I missing something? With 4.5 at least, when I check code in, there are 2 check boxes one for Optimize code the other for formatting. check those boxes off and it will just happen.

Just be disciplined and ask your developers to do the same.

R

0
Avatar
Permanently deleted user

He was asking for Jalopy.

"Robert S. Sfeir" <yosemitesam@gmail.com> wrote in message
news:11056476.1089286692359.JavaMail.itn@is.intellij.net...

Am I missing something? With 4.5 at least, when I check code in, there

are 2 check boxes one for Optimize code the other for formatting. check
those boxes off and it will just happen.
>

Just be disciplined and ask your developers to do the same.

>

R



0

Please sign in to leave a comment.