On 7/16/07, H. Meyer <email@example.com> wrote:
> I was wondering whether Subclipse offers any API which would allow other
> plugins to register listeners for SVN actions. I.e. to get a callback
> before/after update/commit/checkout/checkin or to participate in file
Yes and No. Subclipse uses a listener architecture that theoretically
supports this but which is currently fairly impossible for a 3rd party
plugin to use. The current trunk code, which will be used for our
next major release has changed this somewhat so that it would be
easier to use.
> It also seems as if Subclipse does not support the Eclipse Team API for
> Logical Model Integration
Correct, we do not.
> Is support for this API planned?
No, support is not planned.
> Is there maybe any Subclipse specific
> API which can be used to achieve the same end?
Sure. The Subclipse core plugin can be driven fairly easily by
another plugin. The Buckminster plugin, as an example, uses it to
provide SVN support. In our next release our plugin architecture will
be further changed so that one could also easily just use our
svnClientAdapter API if they just need SVN API access.
> I am asking because a plugin on which I am currently working requires a
> certain degree of control over team actions. It creates a special data
> file for each Java source file. Those special data files must always be
> checked-out/checked-in with the corresponding Java source files as they
> contain valuable additional information pertaining to the source files.
> They also require special handling during merges (the Java source files
> can be merged as always, but the special data files need to use special
> merging code).
I think it will be fairly hard to integrate something like this with
Subversion. Depending on the quantity of the data in these files, you
might consider using Subversion properties to store this data. A
downside, is that merge support for properties is very poor in both
Subversion itself and most clients like Subclipse.
To unsubscribe, e-mail: firstname.lastname@example.org
For additional commands, e-mail: email@example.com
Received on Mon Jul 16 14:31:20 2007