Weird import problem [message #200347] |
Mon, 19 March 2007 04:55  |
Eclipse User |
|
|
|
Originally posted by: newsgroup.weyands.net
Hello Newsgroup,
i'm running into problems i can't figure out how they're caused.
I'm trying to instance a Class from another project, i added the import
statements and eclipse added the project to the buildpath.
Code-completion is working fine, accoring to eclipse there are no
problems with dependencies - but:
When i execute the plugin, try to instanciate one of the classes eclipse
throws an exception:
"An error occured. See error log for more details" - but tthe error log
keeps empty..
Anyone got an idea why i keep getting this weird exception?
thanks in advance,
chris
|
|
|
|
Re: Weird import problem [message #200361 is a reply to message #200354] |
Mon, 19 March 2007 06:31   |
Eclipse User |
|
|
|
Originally posted by: newsgroup.weyands.net
Hi Jakub,
thanks for your reply. I've added the plugin i'm referecning in
Dependencies -> Imported Packages.
I've never had such problems with a plugin, it simply doesn't find the
classes.. and doesn't event output some helpful error-log *sight
-chris
Jakub Jurkiewicz schrieb:
> Hi Chris,
>
> If you are developing a plugin and you want to use class from another
> plugin don't forget to add the dependence in the Dependencies tab in
> plugin.xml
>
> regards,
> Jakub Jurkiewicz
>
>
> Christian Weyand wrote:
>> Hello Newsgroup,
>>
>> i'm running into problems i can't figure out how they're caused.
>> I'm trying to instance a Class from another project, i added the
>> import statements and eclipse added the project to the buildpath.
>> Code-completion is working fine, accoring to eclipse there are no
>> problems with dependencies - but:
>>
>> When i execute the plugin, try to instanciate one of the classes
>> eclipse throws an exception:
>> "An error occured. See error log for more details" - but tthe error
>> log keeps empty..
>>
>> Anyone got an idea why i keep getting this weird exception?
>>
>> thanks in advance,
>> chris
|
|
|
Re: Weird import problem [message #200408 is a reply to message #200354] |
Mon, 19 March 2007 07:57  |
Eclipse User |
|
|
|
Originally posted by: newsgroup.weyands.net
Hmm... i forgot to put in a dependency for 1 of my 5 packages in this
project, although i don't reference the Classes within that package (UI
Stuff) this one missing caused all my trouble i think...
thanks for that tip, you made my day =)
-chris
Jakub Jurkiewicz schrieb:
> Hi Chris,
>
> If you are developing a plugin and you want to use class from another
> plugin don't forget to add the dependence in the Dependencies tab in
> plugin.xml
>
> regards,
> Jakub Jurkiewicz
>
>
> Christian Weyand wrote:
>> Hello Newsgroup,
>>
>> i'm running into problems i can't figure out how they're caused.
>> I'm trying to instance a Class from another project, i added the
>> import statements and eclipse added the project to the buildpath.
>> Code-completion is working fine, accoring to eclipse there are no
>> problems with dependencies - but:
>>
>> When i execute the plugin, try to instanciate one of the classes
>> eclipse throws an exception:
>> "An error occured. See error log for more details" - but tthe error
>> log keeps empty..
>>
>> Anyone got an idea why i keep getting this weird exception?
>>
>> thanks in advance,
>> chris
|
|
|
Powered by
FUDForum. Page generated in 0.09550 seconds