Using nebula widgets in a view of eclipse [message #31299] |
Thu, 08 March 2007 23:58  |
Eclipse User |
|
|
|
Hi All,
I am using nebula widgets in my eclipse plugins view....
I have added the jar of the corresponding nebula wiget...
I am not getting any compilation error in my code...
My only problem is in the runtime it is firing class not found
exception.....
Could any one suggest me regarding this....
Thanks in Advance...
Regards,
Zakir
|
|
|
|
|
|
Re: Using nebula widgets in a view of eclipse [message #32894 is a reply to message #31353] |
Wed, 11 April 2007 09:18  |
Eclipse User |
|
|
|
Originally posted by: bsimpson.mstc.state.ms.us
Also make sure to add org.eclipse.swt under "Required Plug-in" on the
Dependency tab in the plugin's manifest editor. I think I had some
strange class not found exceptions until I did that, at least with
CDateTime 0.9.0.
Stefan Langer wrote:
> You need to add the jar as a plugin dependency in order for it to show
> up. If the jar is not allready a plugin you first should convert the jar
> into a plugin. Use the wizard that creates a new Plugin-Project from
> existing Jar. Then add this plugin as a dependecy to the plugin that
> contains your view. Now you should be all set to use the widget from
> within your view.
> Don't forget to remove the jar from your buildpathpropertie or else you
> will run into problems since Eclipse will see the jar on the buildpath
> but the osgi runtime running your Eclipseinstance will not.
>
> Regards
> Stefan
>
> P.S: I'm forwarding this to the newsgroup so others can benefit from it!
>
> zakir wrote:
> > Hi Stefan,
> >
> > I had added the jar in the javabuildpath...
> >
> > Right click on the
> > project...properties---->JavaBuildpath--->Libraries--->Add Jar--> and
> > in
> > this way I had added the nebulas corresponding jar...
> >
> > Could you plz help me regarding this....
> > [...]
> >
> >> Stefan Langer schrieb:
>>> How did you add the jar top your plugin project?
>>>
>>> zakir schrieb:
>>>> Hi All,
>>>>
>>>> I am using nebula widgets in my eclipse plugins view....
>>>>
>>>> I have added the jar of the corresponding nebula wiget...
>>>>
>>>> I am not getting any compilation error in my code...
>>>>
>>>> My only problem is in the runtime it is firing class not found
>>>> exception.....
>>>>
>>>> Could any one suggest me regarding this....
>>>>
>>>> Thanks in Advance...
>>>>
>>>> Regards,
>>>>
>>>> Zakir
>>>>
|
|
|
Re: Using nebula widgets in a view of eclipse [message #579849 is a reply to message #31299] |
Fri, 09 March 2007 04:14  |
Eclipse User |
|
|
|
How did you add the jar top your plugin project?
zakir schrieb:
> Hi All,
>
> I am using nebula widgets in my eclipse plugins view....
>
> I have added the jar of the corresponding nebula wiget...
>
> I am not getting any compilation error in my code...
>
> My only problem is in the runtime it is firing class not found
> exception.....
>
> Could any one suggest me regarding this....
>
> Thanks in Advance...
>
> Regards,
>
> Zakir
>
|
|
|
Re: Using nebula widgets in a view of eclipse [message #579863 is a reply to message #31329] |
Fri, 09 March 2007 05:10  |
Eclipse User |
|
|
|
You need to add the jar as a plugin dependency in order for it to show
up. If the jar is not allready a plugin you first should convert the jar
into a plugin. Use the wizard that creates a new Plugin-Project from
existing Jar. Then add this plugin as a dependecy to the plugin that
contains your view. Now you should be all set to use the widget from
within your view.
Don't forget to remove the jar from your buildpathpropertie or else you
will run into problems since Eclipse will see the jar on the buildpath
but the osgi runtime running your Eclipseinstance will not.
Regards
Stefan
P.S: I'm forwarding this to the newsgroup so others can benefit from it!
zakir wrote:
> Hi Stefan,
>
> I had added the jar in the javabuildpath...
>
> Right click on the
> project...properties---->JavaBuildpath--->Libraries--->Add Jar--> and
> in
> this way I had added the nebulas corresponding jar...
>
> Could you plz help me regarding this....
> [...]
>
>> Stefan Langer schrieb:
>> How did you add the jar top your plugin project?
>>
>> zakir schrieb:
>>> Hi All,
>>>
>>> I am using nebula widgets in my eclipse plugins view....
>>>
>>> I have added the jar of the corresponding nebula wiget...
>>>
>>> I am not getting any compilation error in my code...
>>>
>>> My only problem is in the runtime it is firing class not found
>>> exception.....
>>>
>>> Could any one suggest me regarding this....
>>>
>>> Thanks in Advance...
>>>
>>> Regards,
>>>
>>> Zakir
>>>
|
|
|
Re: Using nebula widgets in a view of eclipse [message #579904 is a reply to message #31353] |
Fri, 09 March 2007 14:59  |
Eclipse User |
|
|
|
We are changing how we package and structure Nebula widgets so you won't
have to do this in the future. Widgets jars will be full-fledged plugins.
Regards,
-Chris
Stefan Langer wrote:
> You need to add the jar as a plugin dependency in order for it to show
> up. If the jar is not allready a plugin you first should convert the jar
> into a plugin. Use the wizard that creates a new Plugin-Project from
> existing Jar. Then add this plugin as a dependecy to the plugin that
> contains your view. Now you should be all set to use the widget from
> within your view.
> Don't forget to remove the jar from your buildpathpropertie or else you
> will run into problems since Eclipse will see the jar on the buildpath
> but the osgi runtime running your Eclipseinstance will not.
>
> Regards
> Stefan
>
> P.S: I'm forwarding this to the newsgroup so others can benefit from it!
>
> zakir wrote:
> > Hi Stefan,
> >
> > I had added the jar in the javabuildpath...
> >
> > Right click on the
> > project...properties---->JavaBuildpath--->Libraries--->Add Jar--> and
> > in
> > this way I had added the nebulas corresponding jar...
> >
> > Could you plz help me regarding this....
> > [...]
> >
> >> Stefan Langer schrieb:
>>> How did you add the jar top your plugin project?
>>>
>>> zakir schrieb:
>>>> Hi All,
>>>>
>>>> I am using nebula widgets in my eclipse plugins view....
>>>>
>>>> I have added the jar of the corresponding nebula wiget...
>>>>
>>>> I am not getting any compilation error in my code...
>>>>
>>>> My only problem is in the runtime it is firing class not found
>>>> exception.....
>>>>
>>>> Could any one suggest me regarding this....
>>>>
>>>> Thanks in Advance...
>>>>
>>>> Regards,
>>>>
>>>> Zakir
>>>>
|
|
|
Re: Using nebula widgets in a view of eclipse [message #580987 is a reply to message #31353] |
Wed, 11 April 2007 09:18  |
Eclipse User |
|
|
|
Originally posted by: bsimpson.mstc.state.ms.us
Also make sure to add org.eclipse.swt under "Required Plug-in" on the
Dependency tab in the plugin's manifest editor. I think I had some
strange class not found exceptions until I did that, at least with
CDateTime 0.9.0.
Stefan Langer wrote:
> You need to add the jar as a plugin dependency in order for it to show
> up. If the jar is not allready a plugin you first should convert the jar
> into a plugin. Use the wizard that creates a new Plugin-Project from
> existing Jar. Then add this plugin as a dependecy to the plugin that
> contains your view. Now you should be all set to use the widget from
> within your view.
> Don't forget to remove the jar from your buildpathpropertie or else you
> will run into problems since Eclipse will see the jar on the buildpath
> but the osgi runtime running your Eclipseinstance will not.
>
> Regards
> Stefan
>
> P.S: I'm forwarding this to the newsgroup so others can benefit from it!
>
> zakir wrote:
> > Hi Stefan,
> >
> > I had added the jar in the javabuildpath...
> >
> > Right click on the
> > project...properties---->JavaBuildpath--->Libraries--->Add Jar--> and
> > in
> > this way I had added the nebulas corresponding jar...
> >
> > Could you plz help me regarding this....
> > [...]
> >
> >> Stefan Langer schrieb:
>>> How did you add the jar top your plugin project?
>>>
>>> zakir schrieb:
>>>> Hi All,
>>>>
>>>> I am using nebula widgets in my eclipse plugins view....
>>>>
>>>> I have added the jar of the corresponding nebula wiget...
>>>>
>>>> I am not getting any compilation error in my code...
>>>>
>>>> My only problem is in the runtime it is firing class not found
>>>> exception.....
>>>>
>>>> Could any one suggest me regarding this....
>>>>
>>>> Thanks in Advance...
>>>>
>>>> Regards,
>>>>
>>>> Zakir
>>>>
|
|
|
Powered by
FUDForum. Page generated in 0.05458 seconds