Importing a plug-in to modify [message #54577] |
Sun, 12 April 2009 23:51  |
Eclipse User |
|
|
|
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 #595003 is a reply to message #54577] |
Mon, 13 April 2009 14:48  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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
|
|
|
|
Powered by
FUDForum. Page generated in 0.06094 seconds