A curious plugin problem [message #290057] |
Thu, 18 August 2005 09:17 ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: sheng.clanfang.com
Hello everybody,
I've found a curious thing, but I don't know what its cause is.
I've installed a plugin with a directory format (for example:
plugins\org.eclipse.gef_3.0.1\), when I want to add this plugin as a
"plug-in dependence" for a PDE project, thereŽs no problem to find it and
to add it. However, after its addition, the proyect is not able to include
the plug-in in the "plug-in dependence", but it appears in the plugin.xml
of the project.
If I tried to reinstall the plugin with a .jar
format(plugins\org.eclipse.gef_3.0.1.jar), the problem mentioned
previously disappears.
My question is:
In theory, the Eclipse Platform must recognize also a plugin with a
directory format? O only accept a .jar plugin?
Thanx very much.
|
|
|
Re: A curious plugin problem [message #290101 is a reply to message #290057] |
Thu, 18 August 2005 15:45 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: sunil_kamath.nohotspammail.com
"Sheng Fang" <sheng@clanfang.com> wrote in message
news:d7d67d48cf2724471602263ff940c394$1@www.eclipse.org...
> Hello everybody,
> I've found a curious thing, but I don't know what its cause is.
> I've installed a plugin with a directory format (for example:
> plugins\org.eclipse.gef_3.0.1\), when I want to add this plugin as a
> "plug-in dependence" for a PDE project, there
|
|
|
|
Re: A curious plugin problem [message #290116 is a reply to message #290110] |
Thu, 18 August 2005 16:50 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: sunil_kamath.nohotspammail.com
"Ricky" <ImmortalRick@gmx.de> wrote in message
news:op.svpos0ygaudqvk@localhost.localdomain...
> Hello Sunil,
>
>> i.e., you cannot deploy a jar'ed plugin as a directory, neither can you
>> convert a directory plugin into a jar file and deploy it.
>> (Well you can, but you need to change the plugin.xml and/or the
>> Manifest.mf).
>
> can you please elaborate a bit more on this topic? I read somewhere in
> eclipse 3.1. manifest files are preferred over plugin.xml files. But when
> creating an example plugin with a manifest file a plugin.xml is also
> created containing all extension definitions. So you need at least the
> plugin.xml!?
A plugin.xml is only created if you create any extensions.
i.e., it is possible to create a plugin without a plugin.xml.
(caveat- the above only applies if you are using OSGI manifests. If you are
creating 2.x style plugins, the plugin.xml is always created).
> It is also said that there is a connection between specifying a jar
> instead of "." as runtime and plugin deployment in jar or directory
> format. Which scheme is working for you?
>
Both schemes work. You just have to configure the manifest/plugin.xml
properly.
> What exactly do you mean by "deploy a jar'ed plugin as a directory"?
> Extracting the jar and place it in the plugin directory? And what is the
> difference in plugin.xml and manifest if you do so?
>
Regarding the difference between manifest and/or plugin.xml, read here:
http://help.eclipse.org/help31/index.jsp?topic=/org.eclipse. pde.doc.user/guide/plugins_as_jars.htm
---
Sunil
|
|
|
Powered by
FUDForum. Page generated in 0.03527 seconds