Skip to main content



      Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Importing a plug-in to modify
Importing a plug-in to modify [message #54577] Sun, 12 April 2009 23:51 Go to next message
Eclipse UserFriend
Hi,

I was wondering how to import an installed Eclipse plug-in so I can modify
it to fix bugs and add features. I used the import wizard (File -> import
-> Plug-ins and Fragments). I chose import as "Projects with source
folders".

The plug-in imports all right but if I bring changes to the code, they do
not take effect when I run the project. (I have made sure i'm not running
the platform version, it's the project)

If this can help : If I add breakpoints to the code, I can suspend the
runtime-application in debug mode, but as soon as I modify the code of a
java file, any breakpoints I thereof put on that .java file are ignored
while in debug mode.

I would be sincerely thankfull to anyone who could help with this problem.

Jean-Rémi
Re: Importing a plug-in to modify [message #54714 is a reply to message #54577] Mon, 13 April 2009 14:48 Go to previous messageGo to next message
Eclipse UserFriend
Jean-Rémi Desjardins wrote:
> Hi,
>
> I was wondering how to import an installed Eclipse plug-in so I can
> modify it to fix bugs and add features. I used the import wizard (File
> -> import -> Plug-ins and Fragments). I chose import as "Projects with
> source folders".
>
> The plug-in imports all right but if I bring changes to the code, they
> do not take effect when I run the project. (I have made sure i'm not
> running the platform version, it's the project)
>
> If this can help : If I add breakpoints to the code, I can suspend the
> runtime-application in debug mode, but as soon as I modify the code of a
> java file, any breakpoints I thereof put on that .java file are ignored
> while in debug mode.
>
> I would be sincerely thankfull to anyone who could help with this problem.
>
> Jean-Rémi
>


1. Did you clean and rebuild the workspace?
Note currently the binary plugin import gets the class files too
2. Make sure the Lauch Configuration correctly includes the plugin from your workspace and not from the target. btw..which eclipse you are using? 3.4.x?


--
hth,
Ankur..
Re: Importing a plug-in to modify [message #54739 is a reply to message #54714] Mon, 13 April 2009 17:24 Go to previous messageGo to next message
Eclipse UserFriend
Ankur Sharma wrote:

> Jean-Rémi Desjardins wrote:
>> Hi,
>>
>> I was wondering how to import an installed Eclipse plug-in so I can
>> modify it to fix bugs and add features. I used the import wizard (File
>> -> import -> Plug-ins and Fragments). I chose import as "Projects with
>> source folders".
>>
>> The plug-in imports all right but if I bring changes to the code, they
>> do not take effect when I run the project. (I have made sure i'm not
>> running the platform version, it's the project)
>>
>> If this can help : If I add breakpoints to the code, I can suspend the
>> runtime-application in debug mode, but as soon as I modify the code of a
>> java file, any breakpoints I thereof put on that .java file are ignored
>> while in debug mode.
>>
>> I would be sincerely thankfull to anyone who could help with this problem.
>>
>> Jean-Rémi
>>


> 1. Did you clean and rebuild the workspace?
> Note currently the binary plugin import gets the class files too
> 2. Make sure the Lauch Configuration correctly includes the plugin from your
workspace and not from the target. btw..which eclipse you are using? 3.4.x?


I cleaned and rebuilt the workspace as well as added the source folder to
the build path. I have also made sure the Launch Configuration includes
the plug-in from my workspace and not form the target.

I am using version 3.4.2
Re: Importing a plug-in to modify [message #55532 is a reply to message #54739] Wed, 15 April 2009 23:28 Go to previous message
Eclipse UserFriend
I got Eclipse 3.5 and tried it and it works.
So Eclipse 3.5 from now on I guess.

Thanks anyway,
Jean-Rémi
Re: Importing a plug-in to modify [message #595003 is a reply to message #54577] Mon, 13 April 2009 14:48 Go to previous message
Eclipse UserFriend
Jean-Rémi Desjardins wrote:
> Hi,
>
> I was wondering how to import an installed Eclipse plug-in so I can
> modify it to fix bugs and add features. I used the import wizard (File
> -> import -> Plug-ins and Fragments). I chose import as "Projects with
> source folders".
>
> The plug-in imports all right but if I bring changes to the code, they
> do not take effect when I run the project. (I have made sure i'm not
> running the platform version, it's the project)
>
> If this can help : If I add breakpoints to the code, I can suspend the
> runtime-application in debug mode, but as soon as I modify the code of a
> java file, any breakpoints I thereof put on that .java file are ignored
> while in debug mode.
>
> I would be sincerely thankfull to anyone who could help with this problem.
>
> Jean-Rémi
>


1. Did you clean and rebuild the workspace?
Note currently the binary plugin import gets the class files too
2. Make sure the Lauch Configuration correctly includes the plugin from your workspace and not from the target. btw..which eclipse you are using? 3.4.x?


--
hth,
Ankur..
Re: Importing a plug-in to modify [message #595013 is a reply to message #54714] Mon, 13 April 2009 17:24 Go to previous message
Eclipse UserFriend
Ankur Sharma wrote:

> Jean-Rémi Desjardins wrote:
>> Hi,
>>
>> I was wondering how to import an installed Eclipse plug-in so I can
>> modify it to fix bugs and add features. I used the import wizard (File
>> -> import -> Plug-ins and Fragments). I chose import as "Projects with
>> source folders".
>>
>> The plug-in imports all right but if I bring changes to the code, they
>> do not take effect when I run the project. (I have made sure i'm not
>> running the platform version, it's the project)
>>
>> If this can help : If I add breakpoints to the code, I can suspend the
>> runtime-application in debug mode, but as soon as I modify the code of a
>> java file, any breakpoints I thereof put on that .java file are ignored
>> while in debug mode.
>>
>> I would be sincerely thankfull to anyone who could help with this problem.
>>
>> Jean-Rémi
>>


> 1. Did you clean and rebuild the workspace?
> Note currently the binary plugin import gets the class files too
> 2. Make sure the Lauch Configuration correctly includes the plugin from your
workspace and not from the target. btw..which eclipse you are using? 3.4.x?


I cleaned and rebuilt the workspace as well as added the source folder to
the build path. I have also made sure the Launch Configuration includes
the plug-in from my workspace and not form the target.

I am using version 3.4.2
Re: Importing a plug-in to modify [message #595354 is a reply to message #54739] Wed, 15 April 2009 23:28 Go to previous message
Eclipse UserFriend
I got Eclipse 3.5 and tried it and it works.
So Eclipse 3.5 from now on I guess.

Thanks anyway,
Jean-Rémi
Previous Topic:p2 director can't find binary,org.eclipse.equinox.executable_root
Next Topic:java.lang.NoClassDefFoundError in Plugin
Goto Forum:
  


Current Time: Fri Apr 25 19:23:53 EDT 2025

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

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

Back to the top