Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » The JAR of this class file belongs to contain 'Plug-in Dependencies' which does not allow modificati
The JAR of this class file belongs to contain 'Plug-in Dependencies' which does not allow modificati [message #327860] Tue, 06 May 2008 17:34 Go to next message
John J. Barton is currently offline John J. BartonFriend
Messages: 311
Registered: July 2009
Senior Member
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?

John.
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 Go to previous messageGo to next message
Eclipse UserFriend
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 #327869 is a reply to message #327862] Tue, 06 May 2008 20:58 Go to previous messageGo to next message
John J. Barton is currently offline John J. BartonFriend
Messages: 311
Registered: July 2009
Senior Member
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....

John.
Re: The JAR of this class file belongs to contain 'Plug-in Dependencies' which does not allow modifi [message #327870 is a reply to message #327860] Tue, 06 May 2008 21:11 Go to previous messageGo to next message
John J. Barton is currently offline John J. BartonFriend
Messages: 311
Registered: July 2009
Senior Member
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?

So start with http://www.eclipse.org/downloads/ and select "Source
Code". You end up on http://wiki.eclipse.org/index.php/CVS_Howto. There
you can read:

....use the source included in the Eclipse SDK download. The download
contains source zips which can be attached to jars in the SDK's Java
tooling and used for browsing and debugging.

The link on Eclipse SDK is ... any guesses... yes:
http://www.eclipse.org/downloads/.

Go to "So start with..."

John.
Re: The JAR of this class file belongs to contain 'Plug-in Dependencies' which does not allow modifi [message #327875 is a reply to message #327860] Wed, 07 May 2008 00:39 Go to previous messageGo to next message
John J. Barton is currently offline John J. BartonFriend
Messages: 311
Registered: July 2009
Senior Member
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?
>

At least in Ganymede, the answer is:
Plugin Devel Perspective
Plugin View
Select plugin, Right click->Import As->BinaryProjectWithLinkedContent.

John
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 Go to previous messageGo to next message
Eclipse UserFriend
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
Re: The JAR of this class file belongs to contain 'Plug-in Dependencies' which does not allow modifi [message #327902 is a reply to message #327875] Thu, 08 May 2008 00:00 Go to previous message
John J. Barton is currently offline John J. BartonFriend
Messages: 311
Registered: July 2009
Senior Member
John J Barton 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?
>>
>
> At least in Ganymede, the answer is:
> Plugin Devel Perspective
> Plugin View
> Select plugin, Right click->Import As->BinaryProjectWithLinkedContent.

Except there is a bug somewhere. In my efforts to solve this problem,
somewhere in the Eclipse UI I put the string
F:\ganymede\src\org.eclipse.core.resources\src
Now I can't use the debugger because I get massive numbers of error
messages:
Error
Wed May 07 16:45:19 PDT 2008
Unable to access archive F:\ganymede\src\org.eclipse.core.resources\src

java.util.zip.ZipException: Access is denied


Any hints?
John.
Previous Topic:eclipse 3.4M6 won't run from NFS disk
Next Topic:Setting size of window created by PlatformUI.getWorkbench().openWorkbenchWindow
Goto Forum:
  


Current Time: Sat Jul 13 19:14:37 GMT 2024

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

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

Back to the top