RCP product [message #444825] |
Tue, 21 February 2006 14:11  |
Eclipse User |
|
|
|
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 #444872 is a reply to message #444825] |
Wed, 22 February 2006 09:02  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.03280 seconds