Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » How to include a 3rd party jar while exporting a product?
How to include a 3rd party jar while exporting a product? [message #449853] Tue, 23 May 2006 05:14 Go to next message
Eclipse UserFriend
How can I include a 3rd party jar while exporting a product?

I have also selected the 3rd party jar in the "Order and Export" tab of
Java build path but still the same problem.

I am getting this probelm only while exporting, but not whne I am
launching the product from the testing section.

Thanks,
David
Re: How to include a 3rd party jar while exporting a product? [message #449855 is a reply to message #449853] Tue, 23 May 2006 07:55 Go to previous messageGo to next message
Eclipse UserFriend
The Java Build path is only used inside the IDE. That's why it works
there and not when exported. You need to do two things in your Manifest.MF:
* On the Build tab, select the jar in the Binary Build section. That
gets the jar included when the plug-in is built.
* On the Runtime tab, add the jars to the Classpath section. That tells
Eclipse to include it in the classpath for the plug-in.

- amber



David wrote:
> How can I include a 3rd party jar while exporting a product?
>
> I have also selected the 3rd party jar in the "Order and Export" tab of
> Java build path but still the same problem.
>
> I am getting this probelm only while exporting, but not whne I am
> launching the product from the testing section.
>
> Thanks,
> David
Re: How to include a 3rd party jar while exporting a product? [message #449863 is a reply to message #449853] Tue, 23 May 2006 10:13 Go to previous messageGo to next message
Eclipse UserFriend
David wrote:
> How can I include a 3rd party jar while exporting a product?
>
> I have also selected the 3rd party jar in the "Order and Export" tab of
> Java build path but still the same problem.
>
> I am getting this probelm only while exporting, but not whne I am
> launching the product from the testing section.

In order to use 3rd party jars in an RCP app, they must be in a plugin
somewhere (either included in one or in their own plugin).

Amber gave you some steps. I usually use a list like:
http://wiki.eclipse.org/index.php/PDE

Later,
PW
Re: How to include a 3rd party jar while exporting a product? [message #449866 is a reply to message #449863] Tue, 23 May 2006 11:48 Go to previous message
Eclipse UserFriend
Great man. it works!!

This link helped a lot to solve my problem!!
Thanks to Paul and Amber!!

Regards,
David
Previous Topic:Tasks and Bookmarks
Next Topic:How to add Customize Perspective menu and popup menu to custimize tool bar like Eclipse?
Goto Forum:
  


Current Time: Sun Aug 31 14:56:13 EDT 2025

Powered by FUDForum. Page generated in 0.10021 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top