Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Re: How to add external jars to RCP application? - without wrapping as plugins
Re: How to add external jars to RCP application? - without wrapping as plugins [message #294167] Fri, 04 November 2005 11:45 Go to next message
Eclipse UserFriend
Rich Kulp wrote:
> They need to be in a plugin. You should ask further questions on the
> eclipse.platform newsgroup.
>


I don't put mine in a plugin.
I have a folder called /repository at the top level of the plugin
folder. It contains the jars. I put them on the classpath for compiling,
and in the 'build' part of the plugin.xml editor I say to include them
in the plugin. It works fine, but I'm not sure it's the approved way!

Benedict


> Yun Xing wrote:
>
>> Hi, I've developed a RCP application which depends on some other
>> external jars. I add these jars to build path, and it seems work fine.
>> However, when I want to export it as a product, I can't find any way
>> to add these external jars. I tried to add these jars in classpath,
>> but it didn't work.
>> Can someone tell me how to add dependent external jars into RCP
>> application?
>>
>> Best Regrads!
>> -Ivan
>
>
Re: How to add external jars to RCP application? - without wrapping as plugins [message #294168 is a reply to message #294167] Fri, 04 November 2005 12:41 Go to previous message
Eclipse UserFriend
Benedict Heal wrote:
> Rich Kulp wrote:
>
>> They need to be in a plugin. You should ask further questions on the
>> eclipse.platform newsgroup.
>>
>
>
> I don't put mine in a plugin.
> I have a folder called /repository at the top level of the plugin
> folder. It contains the jars. I put them on the classpath for compiling,
> and in the 'build' part of the plugin.xml editor I say to include them
> in the plugin. It works fine, but I'm not sure it's the approved way!

That probably won't work when you deploy your plugin to a clean eclipse
install with an empty workspace.

The build classpath controls compiling the plugins. The plugin
classpath in the manifest controls which plugins can see what classes as
part of their classpath.

Later,
PW
Previous Topic:plugin extensions for RAD
Next Topic:Problem with getResource()
Goto Forum:
  


Current Time: Thu May 08 04:11:27 EDT 2025

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

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

Back to the top