|
Re: The JAR of this class file belongs to contain 'Plug-in Dependencies' which does not allow modifi [message #327862 is a reply to message #327860] |
Tue, 06 May 2008 18:35 |
Eclipse User |
|
|
|
Originally posted by: eclipse-news.rizzoweb.com
John J Barton wrote:
> I get the subject message when I try to look at the source for
> org.eclipse.core.resources.IContainer.
>
> How can I attach the source so eclipse just uses it when I inspect the
> code with debugger or source declaration navigation?
You have to install the "org.eclipse.platform.source" plugin. It (and
lots of other source) is included in the "Eclipse for RCP/Plug-in
Developers" and "Eclipse Classic" packages on the download page.
If you installed one of the other packages, I don't know of an easy way
to get the source features into it. What I've done in the past is to
install the RCP/Plugin package and then grab all the source features and
plugins that I needed from that and copy them into my other Eclipse
installation.
Hope this helps,
Eric
|
|
|
|
|
|
Re: The JAR of this class file belongs to contain 'Plug-in Dependencies' which does not allow modifi [message #327888 is a reply to message #327869] |
Wed, 07 May 2008 13:38 |
Eclipse User |
|
|
|
Originally posted by: eclipse-news.rizzoweb.com
John J Barton wrote:
> Eric Rizzo wrote:
>> John J Barton wrote:
>>> I get the subject message when I try to look at the source for
>>> org.eclipse.core.resources.IContainer.
>>>
>>> How can I attach the source so eclipse just uses it when I inspect
>>> the code with debugger or source declaration navigation?
>>
>> You have to install the "org.eclipse.platform.source" plugin. It (and
>> lots of other source) is included in the "Eclipse for RCP/Plug-in
>> Developers" and "Eclipse Classic" packages on the download page.
>> If you installed one of the other packages, I don't know of an easy
>> way to get the source features into it. What I've done in the past is
>> to install the RCP/Plugin package and then grab all the source
>> features and plugins that I needed from that and copy them into my
>> other Eclipse installation.
>>
>> Hope this helps,
>> Eric
>
> Thanks Eric. I'm running Ganymede M6 which seems to be 3.3.0. Can't I
> just checkout the code from cvs? Surely there is a cvs tag for the
> builds that go in to Ganymede, so I should be able to get the exact
> source with one cvs checkout and one config to eclipse....
Ganymede is Eclipse 3.4. And yes, if you are willing to go the CVS route
you can get the source for any plugin you want (as a project in your
workspace). The trick is finding the correct repository path for the
plugin(s) you are interested in.
There is a drawback of this approach in that it clutters up your
workspace with the plugin source project(s). If you install the source
as plugin(s) into your Eclipse there is no manifestation of it as a
project in your workspace.
Of course, having the source as a project is kind of nice if you want to
experiment with changing things; and it is required if you are going to
submit a patch to correct or change something in an existing plugin.
Eric
|
|
|
|
Powered by
FUDForum. Page generated in 0.03271 seconds