Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

how to use external library in a plugin

Hi,
Can you pelase explain how to use an external library in a plugin?
Thank you

0 votes



4 answers

Permanent link
Baris,

In my understanding, this an Eclipse/Java question and not an RTC question...

Do you need to share this library with another plugin? and/or do you only need to provide this library to the code stored in your plugin?

You can find lots of literature on the subject. For example:
- http://wiki.eclipse.org/Eclipse_Plug-in_Development_FAQ#I.27m_using_third_party_jar_files_and_my_plug-in_is_not_working...
- http://193.204.253.55/gargantini/didattica/eclipse/plugin_libs.html

Did I misunderstand something?

0 votes


Permanent link
Hi Philippe,
yes you are right, I added my jar as referenced library. In my development environment, it is working now.
My question is, when I deploy the plugin to an rtc server, where should I place the jar?
Regards,

Did I misunderstand something?

0 votes


Permanent link
Hi Philippe,
yes you are right, I added my jar as referenced library. In my development environment, it is working now.
My question is, when I deploy the plugin to an rtc server, where should I place the jar?
Regards,

Did I misunderstand something?


I put my dependent jars in the project webapps/lib directory
this was deployed the server like always..

Sam

0 votes


Permanent link
Hi,
Yes, this was an Eclipse/Java question. I added lib to Manifest file and it has been deployed to server sucessfully.
Thanks,

0 votes

Your answer

Register or log in to post 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,936

Question asked: Jan 04 '11, 12:34 p.m.

Question was seen: 7,748 times

Last updated: Jan 04 '11, 12:34 p.m.

Confirmation Cancel Confirm