Nebula Grid in RCP application [message #65494] |
Mon, 13 July 2009 04:13  |
Eclipse User |
|
|
|
Originally posted by: m.kasid.gmail.com
Hi,
How to use the Nebula Grid in an RCP application? I tried referring to the
..jar file downloaded from Nebula site but that didn't worked...Gives no
class def found exception.
Thanks in advance.
--
Thanks,
Mustufa
|
|
|
|
|
|
|
|
|
Re: Nebula Grid in RCP application [message #65724 is a reply to message #65702] |
Wed, 15 July 2009 09:03  |
Eclipse User |
|
|
|
Originally posted by: m.kasid.gmail.com
Thanks Tom,
Really useful information.
And yes, i copied nebula grid jar to my plugins directory and it worked. The
wrapping was not needed.
--
Thanks,
Mustufa
"Tom Schindl" <tom.schindl@bestsolution.at> wrote in message
news:h3khav$4ob$1@build.eclipse.org...
> Mustufa Kasidwala schrieb:
>> Hi Tom,
>>
>> Thanks for this explanation.
>>
>> In my target platform, i refer to the same eclipse platform using which i
>> develop. Isn't this proper? should there be two copies of eclipse to
>> develop
>> RCP application?
>
> This works and if you don't want to setup you simply have to put the
> nebula-grid.jar into your plugins-Directory and reload the target!
>
>>
>> Is this a best practice to develop RCP applications or a requirement?
>>
>
> Yes it is best practice to create an extra target platfrom by because
> then your development environment and target can be different e.g.
> developing with Eclipse 3.4 against a Eclipse 3.5 (or the other way
> round) is quite common.
>
> Often your target also has things into it which Eclipse doesn't need to
> provide you the IDE (e.g. JDBC-Drivers, ....). If you reuse your
> workbench as the target you always have to reinstall all this stuff from
> scratch when you e.g. Upgrade from 3.5.0 to 3.5.1, .... .
>
> Tom
|
|
|
Re: Nebula Grid in RCP application [message #595606 is a reply to message #65494] |
Mon, 13 July 2009 04:26  |
Eclipse User |
|
|
|
Never ever touch your .classpath-File when writing RCP-Applications. You
need to use the OSGi-Manifest possibilities
(Import-Package/Require-Bundle) to make PDE recognize Nebula-Grid.
Tom
Mustufa Kasidwala schrieb:
> Hi,
>
> How to use the Nebula Grid in an RCP application? I tried referring to the
> .jar file downloaded from Nebula site but that didn't worked...Gives no
> class def found exception.
>
> Thanks in advance.
>
|
|
|
|
Re: Nebula Grid in RCP application [message #595644 is a reply to message #65575] |
Wed, 15 July 2009 07:01  |
Eclipse User |
|
|
|
Hi,
Sorry i forgot to reply back.
I was able to find a solution.
1. Wrap the jar file in a plugin using the 'Plugin from existing jar
archives' project type.
2. Add this newly created plugin project to the list of dependencies (in
Menifest file) of the original project where you intend to use Nebula.
This will work.
--
Thanks,
Mustufa
"Murthy" <murthybhat@gmail.com> wrote in message
news:96fe6d7e635fea5205a18a45ede81fb7$1@www.eclipse.org...
> Hi,
>
> Even I am stuck with the same problem in my RCP, NoClassDefFoundError for
> Nebula GridViewer. How do I proceed ?
>
>
> Regards,
> Murthy
>
|
|
|
Re: Nebula Grid in RCP application [message #595653 is a reply to message #65596] |
Wed, 15 July 2009 07:14  |
Eclipse User |
|
|
|
Hi,
No no no!
1. Download the grid.zip from [1]
2. Unzip somewhere
3. Preferences > Plugin-in Development > Target Platform
4. Create a new Target with
=> Eclipse Installation or RCP Runtime, Platform SDK, ...
=> Nebula Grid dowload
5. Open the MANIFEST of your RCP and add an dependency to nebula.grid
*There is no need to repackage what you get from our download page is
something to setup a RCP-Target!*
So please learn how to setup Eclipse appropriately to do RCP-Development.
Tom
[1] http://www.eclipse.org/downloads/download.php?file=/technolo gy/nebula/grid/downloads/drops/latest/nebula-grid-SDK-incuba tion.zip
Mustufa Kasidwala schrieb:
> Hi,
>
> Sorry i forgot to reply back.
>
> I was able to find a solution.
> 1. Wrap the jar file in a plugin using the 'Plugin from existing jar
> archives' project type.
> 2. Add this newly created plugin project to the list of dependencies (in
> Menifest file) of the original project where you intend to use Nebula.
>
> This will work.
>
|
|
|
Re: Nebula Grid in RCP application [message #595676 is a reply to message #65618] |
Wed, 15 July 2009 08:07  |
Eclipse User |
|
|
|
Hi Tom,
Thanks for this explanation.
In my target platform, i refer to the same eclipse platform using which i
develop. Isn't this proper? should there be two copies of eclipse to develop
RCP application?
Is this a best practice to develop RCP applications or a requirement?
--
Thanks,
Mustufa
"Tom Schindl" <tom.schindl@bestsolution.at> wrote in message
news:h3kdls$prl$1@build.eclipse.org...
> Hi,
>
> No no no!
>
> 1. Download the grid.zip from [1]
> 2. Unzip somewhere
> 3. Preferences > Plugin-in Development > Target Platform
> 4. Create a new Target with
> => Eclipse Installation or RCP Runtime, Platform SDK, ...
> => Nebula Grid dowload
> 5. Open the MANIFEST of your RCP and add an dependency to nebula.grid
>
> *There is no need to repackage what you get from our download page is
> something to setup a RCP-Target!*
>
> So please learn how to setup Eclipse appropriately to do RCP-Development.
>
> Tom
>
> [1] http://www.eclipse.org/downloads/download.php?file=/technolo gy/nebula/grid/downloads/drops/latest/nebula-grid-SDK-incuba tion.zip
>
> Mustufa Kasidwala schrieb:
>> Hi,
>>
>> Sorry i forgot to reply back.
>>
>> I was able to find a solution.
>> 1. Wrap the jar file in a plugin using the 'Plugin from existing jar
>> archives' project type.
>> 2. Add this newly created plugin project to the list of dependencies (in
>> Menifest file) of the original project where you intend to use Nebula.
>>
>> This will work.
>>
|
|
|
Re: Nebula Grid in RCP application [message #595683 is a reply to message #65680] |
Wed, 15 July 2009 08:16  |
Eclipse User |
|
|
|
Mustufa Kasidwala schrieb:
> Hi Tom,
>
> Thanks for this explanation.
>
> In my target platform, i refer to the same eclipse platform using which i
> develop. Isn't this proper? should there be two copies of eclipse to develop
> RCP application?
This works and if you don't want to setup you simply have to put the
nebula-grid.jar into your plugins-Directory and reload the target!
>
> Is this a best practice to develop RCP applications or a requirement?
>
Yes it is best practice to create an extra target platfrom by because
then your development environment and target can be different e.g.
developing with Eclipse 3.4 against a Eclipse 3.5 (or the other way
round) is quite common.
Often your target also has things into it which Eclipse doesn't need to
provide you the IDE (e.g. JDBC-Drivers, ....). If you reuse your
workbench as the target you always have to reinstall all this stuff from
scratch when you e.g. Upgrade from 3.5.0 to 3.5.1, .... .
Tom
|
|
|
Re: Nebula Grid in RCP application [message #595692 is a reply to message #65702] |
Wed, 15 July 2009 09:03  |
Eclipse User |
|
|
|
Thanks Tom,
Really useful information.
And yes, i copied nebula grid jar to my plugins directory and it worked. The
wrapping was not needed.
--
Thanks,
Mustufa
"Tom Schindl" <tom.schindl@bestsolution.at> wrote in message
news:h3khav$4ob$1@build.eclipse.org...
> Mustufa Kasidwala schrieb:
>> Hi Tom,
>>
>> Thanks for this explanation.
>>
>> In my target platform, i refer to the same eclipse platform using which i
>> develop. Isn't this proper? should there be two copies of eclipse to
>> develop
>> RCP application?
>
> This works and if you don't want to setup you simply have to put the
> nebula-grid.jar into your plugins-Directory and reload the target!
>
>>
>> Is this a best practice to develop RCP applications or a requirement?
>>
>
> Yes it is best practice to create an extra target platfrom by because
> then your development environment and target can be different e.g.
> developing with Eclipse 3.4 against a Eclipse 3.5 (or the other way
> round) is quite common.
>
> Often your target also has things into it which Eclipse doesn't need to
> provide you the IDE (e.g. JDBC-Drivers, ....). If you reuse your
> workbench as the target you always have to reinstall all this stuff from
> scratch when you e.g. Upgrade from 3.5.0 to 3.5.1, .... .
>
> Tom
|
|
|
Powered by
FUDForum. Page generated in 0.04763 seconds