Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » runtime problems with one plugin depending upon another plugin
runtime problems with one plugin depending upon another plugin [message #60328] Tue, 03 June 2003 09:25 Go to next message
Eclipse UserFriend
I'm new to programming plugins for eclipse and am trying to
write a simple set of two plugins and have one be dependent upon
the other.

I created the first plugin as a wrapper around the log4j.jar file
we use. I exported the entire jar and named the plugin org.apache.log4j.

I created another plugin that uses classes in the log4j.jar file - right
now just initializing the log4j system. I added org.apache.log4j to
the dependency list for my second plugin and updated the build
classpath.

The source builds fine, but when I try to run the plugin, I get an
exception stating that a method could not be found (one of the
methods of the logger class I'm initializing) and the view does
not get created.

Can anyone give me any ideas about what I'm doing wrong? I'm assuming
that it's finding the jar file since it didn't give me a class not
found error. Are there other steps I need to take or other properties
I need to set for this to work?

Thanks in advance for any help.

Bridget Slocum
Re: runtime problems with one plugin depending upon another plugin [message #60538 is a reply to message #60328] Tue, 03 June 2003 10:22 Go to previous message
Eclipse UserFriend
I just realized this is probably the wrong newsgroup. I've submitted
it to the eclipse.tools.jdt newsgroup instead. Sorry for the mixup.

Bridget Slocum

Bridget Slocum wrote:
> I'm new to programming plugins for eclipse and am trying to
> write a simple set of two plugins and have one be dependent upon
> the other.
>
> I created the first plugin as a wrapper around the log4j.jar file
> we use. I exported the entire jar and named the plugin org.apache.log4j.
>
> I created another plugin that uses classes in the log4j.jar file - right
> now just initializing the log4j system. I added org.apache.log4j to
> the dependency list for my second plugin and updated the build
> classpath.
>
> The source builds fine, but when I try to run the plugin, I get an
> exception stating that a method could not be found (one of the
> methods of the logger class I'm initializing) and the view does
> not get created.
>
> Can anyone give me any ideas about what I'm doing wrong? I'm assuming
> that it's finding the jar file since it didn't give me a class not
> found error. Are there other steps I need to take or other properties
> I need to set for this to work?
>
> Thanks in advance for any help.
>
> Bridget Slocum
>
Previous Topic:jface packaging in 2.0 vs. 2.1
Next Topic:How to use Action with popup-menu and accelarator keys?
Goto Forum:
  


Current Time: Sun Jun 08 19:10:40 EDT 2025

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

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

Back to the top