j3d in RCP-App? [message #459224] |
Wed, 29 November 2006 06:24  |
Eclipse User |
|
|
|
Originally posted by: cocktail.cs.tu-berlin.de
Hi experts,
I'm trying to write an RCP-Application which has to visualize
3D-Functions. I wrote a test as a normal Java-App (SWT + Java3d) to test
if my view is working. Now I try to port this part into my RCP-App.
Now I have the Problem, that the whole code compiles quite well, but if
I start that App I get an NoClassDefFound-Error "javax.media.Node"
Can somebody tell me what is wrong? I suspect that i miss something
important.
Thanks in advance,
Karsten
|
|
|
|
Re: j3d in RCP-App? [message #459262 is a reply to message #459258] |
Wed, 29 November 2006 12:03   |
Eclipse User |
|
|
|
Hi Karsten,
Are you able to identify the jars which are platform dependent?
If you can, you could repeat the process that you have already used (new
plugin from jar).
First, create a new plugin from jar that only contains the platform
specific jars.
Second, combine the non-platform-specific jars into one plugin from jar.
This plugin should declare a dependency on a platform-specific jar.
Charlie
Karsten Meier wrote:
> Hi again,
>
> First: I managed it to get it run: I have to pack the j3d-jars into a
> plugin (new plugin project from jar).
>
> BUT: this plugin ist platform dependend. How can i manage it to get this
> plugin platform independend? I need versions for linux (gtk), windows
> and MacOS (i386).
>
> greetings again,
> Karsten
>
> Karsten Meier schrieb:
>
>> Hi experts,
>>
>> I'm trying to write an RCP-Application which has to visualize
>> 3D-Functions. I wrote a test as a normal Java-App (SWT + Java3d) to
>> test if my view is working. Now I try to port this part into my RCP-App.
>>
>> Now I have the Problem, that the whole code compiles quite well, but
>> if I start that App I get an NoClassDefFound-Error "javax.media.Node"
>>
>> Can somebody tell me what is wrong? I suspect that i miss something
>> important.
>>
>> Thanks in advance,
>> Karsten
|
|
|
Re: j3d in RCP-App? [message #459432 is a reply to message #459262] |
Fri, 01 December 2006 06:33  |
Eclipse User |
|
|
|
Originally posted by: cocktail.cs.tu-berlin.de
Hi Charlie,
thanks for the fast answer, but .... :-)
Charle Kelly schrieb:
> Hi Karsten,
>
> Are you able to identify the jars which are platform dependent?
>
> If you can, you could repeat the process that you have already used (new
> plugin from jar).
>
> First, create a new plugin from jar that only contains the platform
> specific jars.
>
> Second, combine the non-platform-specific jars into one plugin from jar.
> This plugin should declare a dependency on a platform-specific jar.
As far as i know are all of the three jars I'm talking about are
platform dependent.
I'm not sure if your answer is exactly what i meant:
The SWT-Plugins are partly platform dependend. With the "RCP-Delta Pack"
eclipse is able to build several RCP-Apps for each platform i want - it
is selecting the appropriate platform dependend jars
Now I want something similar: On a Mac I want to build releases for Mac,
Win and Linux. So I need a way to tell eclipse which j3d-plugin it
should take.
If i look at the configuration-editor of my .product there is a list of
all needed jar. The platform dependend jars are marked with an
magenta-plugin icon. How does eclipse manages this?
Thanks so far,
Karsten
|
|
|
Powered by
FUDForum. Page generated in 0.03532 seconds