Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Visual Editor (VE) » How to test a BeanInfo
How to test a BeanInfo [message #134862] Sun, 14 January 2007 16:22 Go to next message
Daniel Rohe is currently offline Daniel RoheFriend
Messages: 63
Registered: July 2009
Member
Hello,

I've written a BeanInfo for a custom component and now I want to see if
it is loaded into the remote-VM. How can I test this, either by using
the debugger or some test code?

Thanks in advance,
Daniel
Re: How to test a BeanInfo [message #134962 is a reply to message #134862] Wed, 17 January 2007 03:13 Go to previous messageGo to next message
Daniel Rohe is currently offline Daniel RoheFriend
Messages: 63
Registered: July 2009
Member
Daniel Rohe schrieb:
> Hello,
>
> I've written a BeanInfo for a custom component and now I want to see if
> it is loaded into the remote-VM. How can I test this, either by using
> the debugger or some test code?
>
> Thanks in advance,
> Daniel

I've tested my plugin in a separate Eclipse instance. In this instance I
get the following error:

IWAV0073I *** RemoteVM Exception - Trace from Remote VM:
java.lang.Error: Unresolved compilation problems:
The import org.eclipse.jem.beaninfo.vm cannot be resolved
BaseBeanInfo cannot be resolved to a type

I've tried to create my own BeanInfo for the layout just like one of the
bean infos for the JFC classes in the org.eclipse.ve.jfc plugin. To
solve my problem can someone point me to the correct location to look for.

Kind regards,
Daniel
Re: How to test a BeanInfo [message #134973 is a reply to message #134962] Wed, 17 January 2007 15:02 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

The problem is you need the jar that contains the
org.eclipse.jem.beaninfo.vm.BaseBeanInfo class. It is contained in the
org.eclipse.jem.beaninfo plugin. That needs to be on your classpath too.

Daniel Rohe wrote:
> Daniel Rohe schrieb:
>> Hello,
>>
>> I've written a BeanInfo for a custom component and now I want to see
>> if it is loaded into the remote-VM. How can I test this, either by
>> using the debugger or some test code?
>>
>> Thanks in advance,
>> Daniel
>
> I've tested my plugin in a separate Eclipse instance. In this instance I
> get the following error:
>
> IWAV0073I *** RemoteVM Exception - Trace from Remote VM:
> java.lang.Error: Unresolved compilation problems:
> The import org.eclipse.jem.beaninfo.vm cannot be resolved
> BaseBeanInfo cannot be resolved to a type
>
> I've tried to create my own BeanInfo for the layout just like one of the
> bean infos for the JFC classes in the org.eclipse.ve.jfc plugin. To
> solve my problem can someone point me to the correct location to look for.
>
> Kind regards,
> Daniel

--
Thanks,
Rich Kulp
Re: How to test a BeanInfo [message #134982 is a reply to message #134973] Thu, 18 January 2007 00:20 Go to previous message
Daniel Rohe is currently offline Daniel RoheFriend
Messages: 63
Registered: July 2009
Member
Rich Kulp schrieb:
> The problem is you need the jar that contains the
> org.eclipse.jem.beaninfo.vm.BaseBeanInfo class. It is contained in the
> org.eclipse.jem.beaninfo plugin. That needs to be on your classpath too.

I know, but how do I get this jar into the classpath of the remote-vm?
As far as I understood VE, all BeanInfo classes are in the remove-vm and
provide more information to JEM about UI components. It would especially
be interesting how the org.eclipse.ve.jfc plugin has solved this problem.

Kind regards,
Daniel

>
> Daniel Rohe wrote:
>> Daniel Rohe schrieb:
>>> Hello,
>>>
>>> I've written a BeanInfo for a custom component and now I want to see
>>> if it is loaded into the remote-VM. How can I test this, either by
>>> using the debugger or some test code?
>>>
>>> Thanks in advance,
>>> Daniel
>>
>> I've tested my plugin in a separate Eclipse instance. In this instance
>> I get the following error:
>>
>> IWAV0073I *** RemoteVM Exception - Trace from Remote VM:
>> java.lang.Error: Unresolved compilation problems:
>> The import org.eclipse.jem.beaninfo.vm cannot be resolved
>> BaseBeanInfo cannot be resolved to a type
>>
>> I've tried to create my own BeanInfo for the layout just like one of
>> the bean infos for the JFC classes in the org.eclipse.ve.jfc plugin.
>> To solve my problem can someone point me to the correct location to
>> look for.
>>
>> Kind regards,
>> Daniel
>
Re: How to test a BeanInfo [message #615000 is a reply to message #134862] Wed, 17 January 2007 03:13 Go to previous message
Daniel Rohe is currently offline Daniel RoheFriend
Messages: 63
Registered: July 2009
Member
Daniel Rohe schrieb:
> Hello,
>
> I've written a BeanInfo for a custom component and now I want to see if
> it is loaded into the remote-VM. How can I test this, either by using
> the debugger or some test code?
>
> Thanks in advance,
> Daniel

I've tested my plugin in a separate Eclipse instance. In this instance I
get the following error:

IWAV0073I *** RemoteVM Exception - Trace from Remote VM:
java.lang.Error: Unresolved compilation problems:
The import org.eclipse.jem.beaninfo.vm cannot be resolved
BaseBeanInfo cannot be resolved to a type

I've tried to create my own BeanInfo for the layout just like one of the
bean infos for the JFC classes in the org.eclipse.ve.jfc plugin. To
solve my problem can someone point me to the correct location to look for.

Kind regards,
Daniel
Re: How to test a BeanInfo [message #615001 is a reply to message #134962] Wed, 17 January 2007 15:02 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

The problem is you need the jar that contains the
org.eclipse.jem.beaninfo.vm.BaseBeanInfo class. It is contained in the
org.eclipse.jem.beaninfo plugin. That needs to be on your classpath too.

Daniel Rohe wrote:
> Daniel Rohe schrieb:
>> Hello,
>>
>> I've written a BeanInfo for a custom component and now I want to see
>> if it is loaded into the remote-VM. How can I test this, either by
>> using the debugger or some test code?
>>
>> Thanks in advance,
>> Daniel
>
> I've tested my plugin in a separate Eclipse instance. In this instance I
> get the following error:
>
> IWAV0073I *** RemoteVM Exception - Trace from Remote VM:
> java.lang.Error: Unresolved compilation problems:
> The import org.eclipse.jem.beaninfo.vm cannot be resolved
> BaseBeanInfo cannot be resolved to a type
>
> I've tried to create my own BeanInfo for the layout just like one of the
> bean infos for the JFC classes in the org.eclipse.ve.jfc plugin. To
> solve my problem can someone point me to the correct location to look for.
>
> Kind regards,
> Daniel

--
Thanks,
Rich Kulp
Re: How to test a BeanInfo [message #615002 is a reply to message #134973] Thu, 18 January 2007 00:20 Go to previous message
Daniel Rohe is currently offline Daniel RoheFriend
Messages: 63
Registered: July 2009
Member
Rich Kulp schrieb:
> The problem is you need the jar that contains the
> org.eclipse.jem.beaninfo.vm.BaseBeanInfo class. It is contained in the
> org.eclipse.jem.beaninfo plugin. That needs to be on your classpath too.

I know, but how do I get this jar into the classpath of the remote-vm?
As far as I understood VE, all BeanInfo classes are in the remove-vm and
provide more information to JEM about UI components. It would especially
be interesting how the org.eclipse.ve.jfc plugin has solved this problem.

Kind regards,
Daniel

>
> Daniel Rohe wrote:
>> Daniel Rohe schrieb:
>>> Hello,
>>>
>>> I've written a BeanInfo for a custom component and now I want to see
>>> if it is loaded into the remote-VM. How can I test this, either by
>>> using the debugger or some test code?
>>>
>>> Thanks in advance,
>>> Daniel
>>
>> I've tested my plugin in a separate Eclipse instance. In this instance
>> I get the following error:
>>
>> IWAV0073I *** RemoteVM Exception - Trace from Remote VM:
>> java.lang.Error: Unresolved compilation problems:
>> The import org.eclipse.jem.beaninfo.vm cannot be resolved
>> BaseBeanInfo cannot be resolved to a type
>>
>> I've tried to create my own BeanInfo for the layout just like one of
>> the bean infos for the JFC classes in the org.eclipse.ve.jfc plugin.
>> To solve my problem can someone point me to the correct location to
>> look for.
>>
>> Kind regards,
>> Daniel
>
Previous Topic:Where are VE's code generation templates???
Next Topic:SWT problem: unable to change size when gridlayout is used
Goto Forum:
  


Current Time: Fri Apr 26 02:56:13 GMT 2024

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

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

Back to the top