Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Problems distributing my plugin.
Problems distributing my plugin. [message #45752] Fri, 23 May 2003 10:20 Go to next message
Eclipse UserFriend
Hi,

I have written a plug-in and tested it using the run-time workbench. Now,
I create a jar file (file/export/jar file) and copy it to a subfolder of
the plugins directory of eclipse (namely "plugins/de.uds.cs.st.dd/"). I
copy my plugin.xml file to that directory and I also copy my icons
subdirectory to the "plugins/.../" dir.
When I now start Eclipse, I do see my icons, but as soon as I select an
icon, instead of performing the action, Eclipse just tells me "The chosen
operation is not currently available". Why?
I had similar problems before, when trying to test my plugin with the
runtime-workbench. Thanks to Daniel Megert, I eventually found out that I
had used the "-dev /bin" command line parameter to run my
runtime-workbench. This had to be changed to "-dev /" to work. In the
process, I checked my plugin.xml file (several times), and I am quite
confident, that everything's okay with it. "de.uds.cs.st.dd" really is the
id specified in the plugin.xml the runtime library is
"de.uds.cs.st.dd/dd.jar" and dd.jar _is_ the name of my jar-file...
So, do you have any ideas what I could have done wrong this time?

Thanks in advance,
Philipp
Re: Problems distributing my plugin. [message #45899 is a reply to message #45752] Fri, 23 May 2003 10:34 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: Olivier_Thomann.ca.ibm.comNOSPAM

On Fri, 23 May 2003 14:20:18 +0000 (UTC), Philipp.Bouillon@t-online.de
(Philipp Bouillon) wrote:
>So, do you have any ideas what I could have done wrong this time?
>Thanks in advance,
Do you have anything in the .log file?
--
Olivier
Re: Problems distributing my plugin. [message #45924 is a reply to message #45899] Fri, 23 May 2003 10:38 Go to previous messageGo to next message
Eclipse UserFriend
These are the logs:

Error Fri May 23 16:16:49 CEST 2003 Plug-in de.uds.cs.st.dd was unable to
load class de.uds.cs.st.dd.eclipse.actions.MinimizeAction.
java.lang.ClassNotFoundException:
de.uds.cs.st.dd.eclipse.actions.MinimizeAction
at
org.eclipse.core.internal.boot.DelegatingURLClassLoader.load Class(DelegatingURLClassLoader.java:866)
at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
at ...

and:

Error Fri May 23 16:16:49 CEST 2003 Could not create action delegate for
id: de.uds.cs.st.dd.eclipse.actions.MinimizeAction

I fear there is nothing more, and I can definitely say, that there _is_ a
class
named \"de.uds.cs.st.dd.eclipse.actions.MinimizeAction\"...

Philipp

On Fri, 23 May 2003 14:20:18 +0000 (UTC), Philipp.Bouillon@t-online.de
> (Philipp Bouillon) wrote:
> >So, do you have any ideas what I could have done wrong this time?
> >Thanks in advance,
> Do you have anything in the .log file?
> --
> Olivier
Re: Problems distributing my plugin. [message #46163 is a reply to message #45924] Fri, 23 May 2003 11:45 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: daniel.megert.gmx.net

Philipp Bouillon wrote:

>These are the logs:
>
>Error Fri May 23 16:16:49 CEST 2003 Plug-in de.uds.cs.st.dd was unable to
>load class de.uds.cs.st.dd.eclipse.actions.MinimizeAction.
>
I guess you know this but just to be sure: this action has to be public
and there has to be a public 0-arg constructor.

Dani
Re: Problems distributing my plugin. [message #46222 is a reply to message #46163] Fri, 23 May 2003 11:51 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

unfortunately that was not the problem... My MinimizeAction is public and
it has the 0-arg constructor.

Anyway, I think I will finish working today and maybe tomorrow I'll find a
solution...

Hava a nice weekend,
Philipp

> Philipp Bouillon wrote:

> >These are the logs:
> >
> >Error Fri May 23 16:16:49 CEST 2003 Plug-in de.uds.cs.st.dd was unable to
> >load class de.uds.cs.st.dd.eclipse.actions.MinimizeAction.
> >
> I guess you know this but just to be sure: this action has to be public
> and there has to be a public 0-arg constructor.

> Dani
Re: Problems distributing my plugin. [message #47408 is a reply to message #46222] Sun, 25 May 2003 08:46 Go to previous message
Eclipse UserFriend
Hey, now this could be interesting:

Actually, I _can_ install my plug-in using Windows! It's absolutely no
problem: I select "export as jar file", copy the contents to the plugins
directory and after a restart of eclipse, my plug-in is there ---- and
working!

If I try it under linux, I still get the error message ("currently not
available"). The behavior using linux does not change, whether I create
the
jar-file using windows or linux.

This is soooooo strange!
But has anybody experienced similar problems, and could anyone provide me
with a hint, or an idea, or a possible solution, please? I don't know what
else I could try... Funny thing, platform independence ;-))

Philipp

> Hi,

> unfortunately that was not the problem... My MinimizeAction is public and
> it has the 0-arg constructor.

> Anyway, I think I will finish working today and maybe tomorrow I'll find a
> solution...

> Hava a nice weekend,
> Philipp

> > Philipp Bouillon wrote:

> > >These are the logs:
> > >
> > >Error Fri May 23 16:16:49 CEST 2003 Plug-in de.uds.cs.st.dd was unable
to
> > >load class de.uds.cs.st.dd.eclipse.actions.MinimizeAction.
> > >
> > I guess you know this but just to be sure: this action has to be public
> > and there has to be a public 0-arg constructor.

> > Dani
Previous Topic:using newWizards
Next Topic:Help: create a custom TreeItem 2
Goto Forum:
  


Current Time: Sat May 10 09:37:27 EDT 2025

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

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

Back to the top