It's all about the answers!

Ask a question

Java APIs and Eclipse Depedency


diogo cruz (21511) | asked Oct 10 '14, 11:48 a.m.
edited Oct 10 '14, 11:49 a.m.
Hi All,

I´m trying to connect the explanation from Ralph Schon (What API’s are Available for RTC and What Can You Extend?) and the following diagram.
APIs for Source Control

Questions:
- Is the diagram up-to-date (I got it from a Wikipage of v2) ?
- Which of these boxes (packages) are contained in the Java Plain API and which one of them in the SDK?)
- Does it really mean that when I want to (programatically) add files to scm, repows checkouts,... I am actually depending on Eclipse?

Thank you.

One answer



permanent link
sam detweiler (12.4k6172200) | answered Oct 10 '14, 6:06 p.m.
edited Oct 10 '14, 6:23 p.m.
scm and filesystem client are in th plain java libraries

none of this is in the sdk.. (well all the libs are duplicated there, but none is server side apis)

you can do everything to the scm system you want from the plainjava api.
some things you would have to re-invent however are

the pending changes monitor that is provided by eclipse. (background thread, polling the repo to check for changes)..
the scm commandline gives it to you one command at a time.

there are eclipse based extensions/wrappers (rcp...)  that make the services easier to consume for the eclipse plugin function, but underneath it calls the plain java api.

the *ide.ui' code is for managing the eclipse UI of the rtc plugin (create/edit a workitem, workspace, build, ...)

I don't know about many extension points on the client side..  but there seems to be support for adding/changing popup menus, drop downs, and some dialogs..

I have changed the product source (both sides, without doing a plugin extension) to do lots of different things..
enable a 'file system link' to attachments on a shared file system instead of the DB
enable a function to restrict new linktypes to specific projects, workitems.. (link to 'other workitem type', but only from defects or stories, not tasks, or stories, or epics)..


Your answer


Register or to post your answer.