How to provision a Jazz Custom Viewlet
Hi all.
Accepted answer
This is explained in the Rational Team Concert Extensions Workshops last lab. Note that it is not yet updated for 7.0.3.
Comments
Hi Ralph,
It is a plugin and it is deployed on the server. So the general deployment mechanisms are the same. The plugin mechanism is the same, regardless what extension point you use. So, no, there is no difference except maybe, the dependencies you need.
If you have no common part, you don't include that.
ok I've created the feature, updatesite and deploy projects and deployed the viewlet successfully. How can I figure out which feature dependencies are really needed? After pressing button "compute" in dependencies tab I got two plugins one for ajax and one for dashboard stuff. Now I've added all 5 features which have these namespaces but I guess not all are really required.
I described that as good as I was able to in the last lab of that workshop. I suggest to try to follow that.
My expectation would be you want one or more top level feature such as com.ibm.team.app.server.jfs.feature that themselves contain the other dependencies. One important part of this step in the deployment is, that the information in the feature allows the server to decide, if there are enough dependencies available to start the service/extension. In Jetty you have the whole SDK client and server and external libraries. If you accidentally pick up dependencies to libraries that will not be shipped with the server, the deployment will fail.