how to modify existing plugin [message #541350] |
Sun, 20 June 2010 07:28  |
Eclipse User |
|
|
|
Hello,
could you please give me advice with regards to the following?
I would like to modify an existing plugin, more specifically
the cdo/emf editor plugin org.eclipse.emf.cdo.edit if that
matters.
The plugin in question is already part of my eclipse runtime.
What is the best way to create a "clone", modify it
and use the new version instead of the original one?
I already checked out the source code from the CVS.
I intended to export my plugin-version using
"export -> create deployable plug-ins and fragments",
but the wizard did not offer anything in the
"Available Plugins and Fragments" field.
I also tried to create a mini-RCP application and to add
my plugin to the applications dependencies. However,
the wizard does not seem to be aware of the existence of
my "cloned" plugin and offers the plugin from the
runtime only. (I know, that using a separate target
platform would be better.)
I would be grateful hints!
Kind regards
Harald
|
|
|
Re: how to modify existing plugin [message #542885 is a reply to message #541350] |
Sun, 27 June 2010 02:20  |
Eclipse User |
|
|
|
On 20/06/2010 16:58, Harald Finster wrote:
> Hello,
>
> could you please give me advice with regards to the following?
>
> I would like to modify an existing plugin, more specifically
> the cdo/emf editor plugin org.eclipse.emf.cdo.edit if that
> matters.
> The plugin in question is already part of my eclipse runtime.
>
> What is the best way to create a "clone", modify it
> and use the new version instead of the original one?
>
> I already checked out the source code from the CVS.
> I intended to export my plugin-version using
> "export -> create deployable plug-ins and fragments",
> but the wizard did not offer anything in the
> "Available Plugins and Fragments" field.
>
> I also tried to create a mini-RCP application and to add
> my plugin to the applications dependencies. However,
> the wizard does not seem to be aware of the existence of
> my "cloned" plugin and offers the plugin from the
> runtime only. (I know, that using a separate target
> platform would be better.)
>
> I would be grateful hints!
>
> Kind regards
>
> Harald
The other plug-ins might be picking the old (and original) plug-in due to version binding. Also the
plug-ins may be signed jars and since your plug-in is unsigned it wont be picked up. I am not sure
if there is a workaround for this as this is supposed to be OSGi security mechanism.
However, if you do figure out a way, plz do r'ber to open a bug and submit your modifications as
required by EPL.
--
Ankur..
Eclipse PDE UI Committer | IBM India Software Lab, Bangalore
+91-99456-94011 | @ankur_sharma | http://blog.ankursharma.org
|
|
|
Re: how to modify existing plugin [message #606179 is a reply to message #541350] |
Sun, 27 June 2010 02:20  |
Eclipse User |
|
|
|
On 20/06/2010 16:58, Harald Finster wrote:
> Hello,
>
> could you please give me advice with regards to the following?
>
> I would like to modify an existing plugin, more specifically
> the cdo/emf editor plugin org.eclipse.emf.cdo.edit if that
> matters.
> The plugin in question is already part of my eclipse runtime.
>
> What is the best way to create a "clone", modify it
> and use the new version instead of the original one?
>
> I already checked out the source code from the CVS.
> I intended to export my plugin-version using
> "export -> create deployable plug-ins and fragments",
> but the wizard did not offer anything in the
> "Available Plugins and Fragments" field.
>
> I also tried to create a mini-RCP application and to add
> my plugin to the applications dependencies. However,
> the wizard does not seem to be aware of the existence of
> my "cloned" plugin and offers the plugin from the
> runtime only. (I know, that using a separate target
> platform would be better.)
>
> I would be grateful hints!
>
> Kind regards
>
> Harald
The other plug-ins might be picking the old (and original) plug-in due to version binding. Also the
plug-ins may be signed jars and since your plug-in is unsigned it wont be picked up. I am not sure
if there is a workaround for this as this is supposed to be OSGi security mechanism.
However, if you do figure out a way, plz do r'ber to open a bug and submit your modifications as
required by EPL.
--
Ankur..
Eclipse PDE UI Committer | IBM India Software Lab, Bangalore
+91-99456-94011 | @ankur_sharma | http://blog.ankursharma.org
|
|
|
Powered by
FUDForum. Page generated in 0.04689 seconds