Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Subversive » How can I extend SVN Subversive plugin commit procedure ?(How can I extend SVN Subversive plugin commit procedure ?)
How can I extend SVN Subversive plugin commit procedure ? [message #1403845] Mon, 28 July 2014 09:13 Go to next message
Sagar Chopade is currently offline Sagar ChopadeFriend
Messages: 1
Registered: July 2014
Junior Member
I am using Subversive plugin with SVNKit 1.3.5 connector.
During commit of any file, I want to append some statement at the end of that file so that it will get commited along with that statement. Do you know how can I extend this plug-in to interecept commit process and add my tweaking logic ?
Re: How can I extend SVN Subversive plugin commit procedure ? [message #1404539 is a reply to message #1403845] Sun, 03 August 2014 18:59 Go to previous message
Alexander Gurov is currently offline Alexander GurovFriend
Messages: 148
Registered: July 2009
Senior Member
Hi,

you should use the org.eclipse.team.svn.ui.commit extension point

<extension point="org.eclipse.team.svn.ui.commit">
<commit class="testcommituiext.TestCommitActionFactory"/>
</extension>

and create an implementation of ICommitActionFactory. There in the getCommitDialog() method you can return your own implementation of ICommitDialog, that performs some preprocessing for the resources, selected to commit. Then you can add some postprocessing in the performAfterCommitTasks() method.
Previous Topic:Change Sets not recognized as Subversion Change Lists
Next Topic:PDE Build - FetchFromSVN - Issue
Goto Forum:
  


Current Time: Tue Apr 23 07:37:30 GMT 2024

Powered by FUDForum. Page generated in 0.04239 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top