Results 1 to 3 of 3
  1. #1
    dilipg003 is offline Member
    Join Date
    Mar 2009
    Posts
    1
    Rep Power
    0

    Default Intercept CVS/SVN team commit

    Hi All,

    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
    -dilip

  2. #2
    xcallmejudasx's Avatar
    xcallmejudasx is offline Senior Member
    Join Date
    Oct 2008
    Location
    Houston, TX & Flint, MI
    Posts
    609
    Rep Power
    7

    Default

    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.

  3. #3
    OrangeDog's Avatar
    OrangeDog is offline Senior Member
    Join Date
    Jan 2009
    Location
    Cambridge, UK
    Posts
    838
    Rep Power
    6

    Default

    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

Similar Threads

  1. Catch 22: Ant prevents CVS commit
    By Cold-Gin in forum Eclipse
    Replies: 1
    Last Post: 04-09-2009, 11:49 PM
  2. 2 phase commit using JBosss JTA
    By amt_asc in forum JDBC
    Replies: 1
    Last Post: 04-03-2009, 03:25 PM
  3. Commit problem
    By egc_33 in forum Eclipse
    Replies: 0
    Last Post: 08-09-2008, 03:27 PM
  4. New TO Java Team
    By Bisweswar in forum Introductions
    Replies: 1
    Last Post: 12-25-2007, 09:58 AM
  5. Team Lead@chennai
    By prepsun in forum Jobs Offered
    Replies: 0
    Last Post: 11-23-2007, 06:47 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •