Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » how to modify existing plugin
how to modify existing plugin [message #541350] Sun, 20 June 2010 11:28 Go to next message
Harald Finster is currently offline Harald FinsterFriend
Messages: 37
Registered: July 2009
Member
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 06:20 Go to previous message
Ankur Sharma is currently offline Ankur SharmaFriend
Messages: 68
Registered: July 2009
Member
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 06:20 Go to previous message
Ankur Sharma is currently offline Ankur SharmaFriend
Messages: 68
Registered: July 2009
Member
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
Previous Topic:Custom Wizard Page Back Button Not Functional
Next Topic:Adding plugins to the classpath at runtime
Goto Forum:
  


Current Time: Fri Apr 19 04:42:29 GMT 2024

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

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

Back to the top