Results 1 to 3 of 3
Thread: Intercept CVS/SVN team commit
- 04-28-2009, 01:23 AM #1Member
- Join Date
- Mar 2009
- Rep Power
Intercept CVS/SVN team commit
I was looking to intercept the commit action in the eclipse team menu and then call some XYZ web service which checks the code being committed for certain violations. Is this possible ??
By this I mean, if I have CVS plugin installed then the CVS commit should be intercepted, the web service should be called for the code being committed, and then the depending on the results of the web service, the commit should either go through or be aborted. Similarly for SVN or any other SCM plugin out there.
Is it possible to write an eclipse plugin to do such a task ?
Comments/suggestions are all welcome.
thanks a ton
- 05-12-2009, 07:08 PM #2
Doesn't SVN already check this? I'm assuming your web service is to determine is person A and person B both have the code out and being worked on and if person A commits after person B that it compares them for incompatibilities?Liberty has never come from the government.
Liberty has always come from the subjects of government.
The history of liberty is the history of resistance.
The history of liberty is a history of the limitation of governmental power, not the increase of it.
- 05-12-2009, 07:17 PM #3
The easiest way would be to write an external tool or script and configure eclipse to use it (as EXTSSH or EXT) rather than eclipse's built-in client.Don't forget to mark threads as [SOLVED] and give reps to helpful posts.
How To Ask Questions The Smart Way
- By Cold-Gin in forum EclipseReplies: 1Last Post: 04-09-2009, 11:49 PM
- By amt_asc in forum JDBCReplies: 1Last Post: 04-03-2009, 03:25 PM
- By egc_33 in forum EclipseReplies: 0Last Post: 08-09-2008, 03:27 PM
- By Bisweswar in forum IntroductionsReplies: 1Last Post: 12-25-2007, 09:58 AM
- By prepsun in forum Jobs OfferedReplies: 0Last Post: 11-23-2007, 06:47 PM