Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » RCP product
RCP product [message #444825] Tue, 21 February 2006 14:11 Go to next message
Eclipse UserFriend
Originally posted by: comouraf-lixo.yahoo.fr

Hello,

I created an RCP application that works perfectly when launched from
eclipse. I also created a product out of it that runs smoothly inside
eclipse. However, when the same product is run after being exported (using
the product export wizard) it doesn't display one of the views
(java.lang.ClassNotFoundException: wordview.views.MyView). In fact the jar
to which this View belongs added an extra dir to the view path:

bin/wordview/views/MyView

instead of

wordview/views/MyView

How to tune the paths of generated jars?


Thanks,

Kaiser
Re: RCP product [message #444827 is a reply to message #444825] Tue, 21 February 2006 14:41 Go to previous messageGo to next message
Eclipse UserFriend
This problem is well known as far as i know.

Search the mailing list for "third party", "3rd party" or something like
this - you should find plenty of answers.

Regards,
Stefan

Kaiser schrieb:
> Hello,
>
> I created an RCP application that works perfectly when launched from
> eclipse. I also created a product out of it that runs smoothly inside
> eclipse. However, when the same product is run after being exported (using
> the product export wizard) it doesn't display one of the views
> (java.lang.ClassNotFoundException: wordview.views.MyView). In fact the jar
> to which this View belongs added an extra dir to the view path:
>
> bin/wordview/views/MyView
>
> instead of
>
> wordview/views/MyView
>
> How to tune the paths of generated jars?
>
>
> Thanks,
>
> Kaiser
>
>
Re: RCP product [message #444833 is a reply to message #444827] Tue, 21 February 2006 18:38 Go to previous messageGo to next message
Eclipse UserFriend
Thanks for your reply Stefan.

I had already heard about this 3rd party jars problems, but I don't know if
it is my case, since the view I'm "importing" is not part from 3rd party
jars, but from another plugin already included in the dependencies. Anyway,
the solutions " turn the jars into plugins " or " include the jars in a
plugin " don't seem to apply to me. Or do they ?

Kaiser


"Stefan Zugal" <csae7511@uibk.ac.at> a
Re: RCP product [message #444872 is a reply to message #444825] Wed, 22 February 2006 09:02 Go to previous message
Eclipse UserFriend
Kaiser wrote:
> Hello,
>
> I created an RCP application that works perfectly when launched from
> eclipse. I also created a product out of it that runs smoothly inside
> eclipse. However, when the same product is run after being exported (using
> the product export wizard) it doesn't display one of the views
> (java.lang.ClassNotFoundException: wordview.views.MyView). In fact the jar
> to which this View belongs added an extra dir to the view path:
>
> bin/wordview/views/MyView

Your build.properties isn't right for some reason.

Generate a new plugin (like hello world, it doesn't matter) and compare
it's build.properties to your own.

re: 3rd party jars ... if you just have a dependancy on another plugin,
that's not a problem. I assume you added the dependancies in the
plugin.xml editor>Runtime tab?

If you've added anything to your build path through the Build
Path>Configure Build Path ... popup menu, that won't work.

Later,
PW
Previous Topic:"merging" plugins
Next Topic:Trouble with global action handlers in FormEditor
Goto Forum:
  


Current Time: Mon Jul 07 01:13:48 EDT 2025

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

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

Back to the top