Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Importing a plug-in to modify
Importing a plug-in to modify [message #54577] Mon, 13 April 2009 03:51 Go to next message
Jean-Rémi Desjardins is currently offline Jean-Rémi DesjardinsFriend
Messages: 6
Registered: July 2009
Junior Member
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 18:48 Go to previous messageGo to next message
Ankur Sharma is currently offline Ankur SharmaFriend
Messages: 84
Registered: July 2009
Member
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 21:24 Go to previous messageGo to next message
Jean-Rémi Desjardins is currently offline Jean-Rémi DesjardinsFriend
Messages: 6
Registered: July 2009
Junior Member
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] Thu, 16 April 2009 03:28 Go to previous message
Jean-Rémi Desjardins is currently offline Jean-Rémi DesjardinsFriend
Messages: 6
Registered: July 2009
Junior Member
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 18:48 Go to previous message
Ankur Sharma is currently offline Ankur SharmaFriend
Messages: 84
Registered: July 2009
Member
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 21:24 Go to previous message
Jean-Rémi Desjardins is currently offline Jean-Rémi DesjardinsFriend
Messages: 6
Registered: July 2009
Junior Member
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] Thu, 16 April 2009 03:28 Go to previous message
Jean-Rémi Desjardins is currently offline Jean-Rémi DesjardinsFriend
Messages: 6
Registered: July 2009
Junior Member
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: Thu Dec 26 13:19:02 GMT 2024

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

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

Back to the top