Re: How to add external jars to RCP application? - without wrapping as plugins [message #294167] |
Fri, 04 November 2005 11:45  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.04595 seconds