|
|
Re: IJavaProject instances classloader [message #255235 is a reply to message #255201] |
Thu, 24 July 2008 13:43 |
Eclipse User |
|
|
|
Originally posted by: richkulp.us.NO_SPAM.ibm.com
Basically you can't. Classes in the project are not loaded into Eclipse.
What do you need from the Class object? You should be able to get just
about everything you need from JDT instead.
>
> From here I can obtain the class names of the classes. For some reason
> my plugin needs to obtain the java.lang.Class object of the class. How
> can I do this?
>
--
Thanks,
Rich Kulp
|
|
|
Re: IJavaProject instances classloader [message #255326 is a reply to message #255235] |
Tue, 29 July 2008 16:06 |
Eclipse User |
|
|
|
Originally posted by: crscca.yahoo.com
The only thing I want is get the Class object and pass it to some third
party code that uses Class object references and generates some other code
using the Class object.
This is really needed by me.
If this is not possible I will probably be forced to spawn a seperate
Runtime process with Java being launched etc.
|
|
|
Re: IJavaProject instances classloader [message #255330 is a reply to message #255326] |
Tue, 29 July 2008 16:08 |
Eclipse User |
|
|
|
Originally posted by: richkulp.us.NO_SPAM.ibm.com
Spawning is the best bet. That is safest.
Raster wrote:
>
> The only thing I want is get the Class object and pass it to some third
> party code that uses Class object references and generates some other
> code using the Class object.
> This is really needed by me.
>
>
> If this is not possible I will probably be forced to spawn a seperate
> Runtime process with Java being launched etc.
>
--
Thanks,
Rich Kulp
|
|
|
|
Powered by
FUDForum. Page generated in 0.03404 seconds