Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Source attachments for plug-ins?
Source attachments for plug-ins? [message #330552] Fri, 01 August 2008 12:46
Eclipse UserFriend
Originally posted by: creckord.uni-kassel.de

Hi all,

Is there any good reason why plug-in JARs do not allow adding source attachments manually like ordinary JARs do?

I've had this problem the umpteenth time. There are no source/sdk features available for many a feature via the update site (especially from
aggregator sites like Europa or Ganimede update sites) or sources are only provided for some plugins of a feature. This especially goes for
dependencies to Orbit plugins that seem to chronically be left out of source features.

Right now, for example, I'm looking at this nice message "The JAR file of this class file belongs to container 'Plug-In Dependencies' which
does not allow modifications to source attachments on its entries" while trying to debug into a class from org.apache.batik plug-in that
comes with GMF. I do have the GMF SDK feature installed, but that does not include Batik sources (neither does TPTP btw, which also comes
with the Batik plug-ins). The fact that these sources are missing in these source features is probably an issue in its own right (as is the
fact that Orbit, which contains the Batik plug-ins, has no update site from which the end-user could easily install them).

But the issue I see here is that for the end-user like me it would be much easier to be able to just attach sources like to an "ordinary"
JAR instead of go hunting for an available source plug-in in the depths of eclipse.org.

Especially in the case of third party plug-ins, which are rebundled as eclipse bundles, it is often much easier to just get the sources from
that third party, but converting them to a source plug-in and deploying them is a real PITA compared to just attaching them to the JAR...

So, to close with my initial question: Is there a good reason for this limitation? Otherwise I'll file an enhancement request (and maybe
look into it myself).


Regards,
Carsten Reckord
Previous Topic:Minimize the editor Area does not work on all PCs ?
Next Topic:Way to modify text file in RCP project before build with ANT
Goto Forum:
  


Current Time: Mon Feb 10 01:28:27 GMT 2025

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

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

Back to the top