Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Nebula » Nebula Grid in RCP application
Nebula Grid in RCP application [message #65494] Mon, 13 July 2009 08:13 Go to next message
Eclipse UserFriend
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 #65515 is a reply to message #65494] Mon, 13 July 2009 08:26 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
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 #65575 is a reply to message #65515] Wed, 15 July 2009 08:38 Go to previous messageGo to next message
Murthy Bhat is currently offline Murthy BhatFriend
Messages: 159
Registered: July 2009
Senior Member
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 #65596 is a reply to message #65575] Wed, 15 July 2009 11:01 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: m.kasid.gmail.com

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 #65618 is a reply to message #65596] Wed, 15 July 2009 11:14 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
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 #65680 is a reply to message #65618] Wed, 15 July 2009 12:07 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: m.kasid.gmail.com

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 #65702 is a reply to message #65680] Wed, 15 July 2009 12:16 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
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 #65724 is a reply to message #65702] Wed, 15 July 2009 13:03 Go to previous message
Eclipse UserFriend
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 08:26 Go to previous message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
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 #595639 is a reply to message #65515] Wed, 15 July 2009 08:38 Go to previous message
Murthy Bhat is currently offline Murthy BhatFriend
Messages: 159
Registered: July 2009
Senior Member
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 #595644 is a reply to message #65575] Wed, 15 July 2009 11:01 Go to previous message
Mustufa Kasidwala is currently offline Mustufa KasidwalaFriend
Messages: 60
Registered: July 2009
Member
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 11:14 Go to previous message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
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 12:07 Go to previous message
Mustufa Kasidwala is currently offline Mustufa KasidwalaFriend
Messages: 60
Registered: July 2009
Member
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 12:16 Go to previous message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
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 13:03 Go to previous message
Mustufa Kasidwala is currently offline Mustufa KasidwalaFriend
Messages: 60
Registered: July 2009
Member
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
Previous Topic:Nebula Grid Column move question
Next Topic:[Gallery] ESC key no longer closes WizardDialog when Gallery added
Goto Forum:
  


Current Time: Tue Apr 16 23:36:01 GMT 2024

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

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

Back to the top