It's all about the answers!

Ask a question

how to import a created plug-in in RTC


Giuseppe Nettis (3653) | asked Nov 09 '09, 9:54 a.m.
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



permanent link
Michael Valenta (3.6k3) | answered Nov 10 '09, 9:53 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
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,
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

permanent link
Giuseppe Nettis (3653) | answered Nov 10 '09, 12:23 p.m.
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,

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

permanent link
Michael Valenta (3.6k3) | answered Nov 11 '09, 9:23 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
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,
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


Michael Valentawrote:
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


permanent link
Balaji Krish (1.8k12) | answered Nov 12 '09, 10:37 a.m.
JAZZ DEVELOPER
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
(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,
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


Michael Valentawrote:
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


permanent link
Peter Yee (6) | answered May 06 '10, 10:06 a.m.
JAZZ DEVELOPER
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,
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


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?

permanent link
Michael Valenta (3.6k3) | answered May 07 '10, 9:29 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
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:
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,
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


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


Register or to post your answer.