how to import a created plug-in in RTC
Hi to all,
i have just created a new plugin for jazz client platform. I created also the .jar file to import the plugin in the eclipse jazz client. I want to know in what path i have to put the .jar file of the plugin? (i tried in jazz\client\eclipse\plugins and in other paths, but nothing). Note: if i put the jar in Eclipse, it runs. Besides, if i import the complete project in jazz client, there are no errors. So the plugin is correctly created.. Thanks, Giu |
6 answers
Giu,
What version of RTC are you using? Did you install using the InstallManager of from a zip file? If you are using RTC 2.0 or later and installed from a zip, you shoudl be able to put your plugin in the jazz\client\eclipse\dropins folder and it should get picked up, assuming that all of the plugins it depends upon are available. Michael giunet wrote: Hi to all, |
Michael,
i use the RTC version 2.0.0.1. I didn't installed it using the InstallManager, but from a zip file. I tried to put the .jar in jazz\client\eclipse\dropins folder, but without results. Please tell me other solutions, if you have.. thanks a lot, Giu Giu, |
When you say JAR, I assume you mean a bundle you created using PDE Build
(or the Export to Deployable Plugin or Fragment wizard). If you JAR is a valid OSGi bundle, you should just be able to place it in the dropins folder as I suggested. If that fails, it may be the case that your JAR is not a proper OSGi bundle or that all the requirements of your bundle are not met in RTC (i.e. you require some other bundle that is not part of RTC). I'm not an OSGi expert but I suspect there is documentation available on the web that you could read about ensuring that your JAR is a bundle and verifying that all the requirements are included. I know that Eclipse/RTC has an OSGi consiole that can be enabled using the startup argument -console and that allows you to perform some diagnostics. Sorry I couldn't be more help, Michael giunet wrote: Michael, |
You might need to re-provision the bundles.
Go to https://{server-name}:9443/jazz/admin?internal=true#action=com.ibm.team.repository.admin.serverReset and click on request server reset. Now stop the server and restart the server. When server restarts, all the bundles present will be reprovisioned. --- Balaji When you say JAR, I assume you mean a bundle you created using PDE Build Michael, |
Giu, Hi to all, Hello, I'm facing a similar situation. Can you please tell me what would be the difference between an unzipped installation of the client and an Installation Manager installation in the context of enabling a plugin? I've reinstalled using a zip version and used the dropins directory and it didn't work either. If there are outstanding dependencies that prevented the plugin from loading, where can I see that? |
Peter,
You can use the OSGi console to determine if there is a missing dependency. Here's an article I found on the subject and you can find several other sources of information by googling "Eclispe OSGi console". http://www.ibm.com/developerworks/library/os-ecl-osgiconsole/index.html Michael peteryee wrote: Michael Valentawrote: Hello, I'm facing a similar situation. Can you please tell me what would be the difference between an unzipped installation of the client and an Installation Manager installation in the context of enabling a plugin? I've reinstalled using a zip version and used the dropins directory and it didn't work either. If there are outstanding dependencies that prevented the plugin from loading, where can I see that? |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.