Skip to main content



      Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Plug-in View: Import As | Source Project
Plug-in View: Import As | Source Project [message #55092] Tue, 14 April 2009 22:57 Go to next message
Eclipse UserFriend
When I started developing for the Eclipse Platform, the Import As |
Source Project proved a key factor in negotiating the learning curve.

What is the current stance on the extent this feature is still supported
in more recent Eclipse releases?

I have the impression that this wonderful self-referential feature of
the PDE is getting more and more neglected, but I could be mistaken.

A lot of source projects I've imported recently, to do some
reverse-engineering on don't contain anything instructive anymore.

Could I get some feedback on this? Thanks!
Re: Plug-in View: Import As | Source Project [message #55119 is a reply to message #55092] Tue, 14 April 2009 23:39 Go to previous messageGo to next message
Eclipse UserFriend
Dann Martens wrote:
> When I started developing for the Eclipse Platform, the Import As |
> Source Project proved a key factor in negotiating the learning curve.
>
> What is the current stance on the extent this feature is still supported
> in more recent Eclipse releases?
>
> I have the impression that this wonderful self-referential feature of
> the PDE is getting more and more neglected, but I could be mistaken.
>
> A lot of source projects I've imported recently, to do some
> reverse-engineering on don't contain anything instructive anymore.
>
> Could I get some feedback on this? Thanks!

It should work still. What are you seeing?

Another way to learn things is to use the Plug-in Spy (Alt+Shift+F1) and
go through code.

Cheers,

Chris Aniszczyk | EclipseSource Austin | +1 860 839 2465
http://twitter.com/eclipsesource | http://twitter.com/caniszczyk
Re: Plug-in View: Import As | Source Project [message #55365 is a reply to message #55119] Wed, 15 April 2009 14:16 Go to previous message
Eclipse UserFriend
The biggest 'policy' change seems to be a shift away from having classes
straight on the bundle's classpath in favor of a jar package of those
same classes, included as a library for the bundle.

This approach undermines the 'Import As | Source Project' value
proposition completely, as the only thing you'll get in your workspace
is a sparsely populated plug-in project, typically with one fat opaque
jar in the project's root.

If all plug-ins adopt this strategy, then the 'Import As | Source
Project' will lose its value completely.

The PDE and its relationship to the platform is truly amazing, realized
by real visionaries, but as with Eclipse in general, it seems that with
so many projects going on, effort is starting to spread thin and that
vision is starting to become diluted a bit (I could rant on this, for
quite a while).

Your Plug-in Spy is already indispensable. Should have been in there
from the start ;)
Re: Plug-in View: Import As | Source Project [message #595169 is a reply to message #55092] Tue, 14 April 2009 23:39 Go to previous message
Eclipse UserFriend
Dann Martens wrote:
> When I started developing for the Eclipse Platform, the Import As |
> Source Project proved a key factor in negotiating the learning curve.
>
> What is the current stance on the extent this feature is still supported
> in more recent Eclipse releases?
>
> I have the impression that this wonderful self-referential feature of
> the PDE is getting more and more neglected, but I could be mistaken.
>
> A lot of source projects I've imported recently, to do some
> reverse-engineering on don't contain anything instructive anymore.
>
> Could I get some feedback on this? Thanks!

It should work still. What are you seeing?

Another way to learn things is to use the Plug-in Spy (Alt+Shift+F1) and
go through code.

Cheers,

Chris Aniszczyk | EclipseSource Austin | +1 860 839 2465
http://twitter.com/eclipsesource | http://twitter.com/caniszczyk
Re: Plug-in View: Import As | Source Project [message #595278 is a reply to message #55119] Wed, 15 April 2009 14:16 Go to previous message
Eclipse UserFriend
The biggest 'policy' change seems to be a shift away from having classes
straight on the bundle's classpath in favor of a jar package of those
same classes, included as a library for the bundle.

This approach undermines the 'Import As | Source Project' value
proposition completely, as the only thing you'll get in your workspace
is a sparsely populated plug-in project, typically with one fat opaque
jar in the project's root.

If all plug-ins adopt this strategy, then the 'Import As | Source
Project' will lose its value completely.

The PDE and its relationship to the platform is truly amazing, realized
by real visionaries, but as with Eclipse in general, it seems that with
so many projects going on, effort is starting to spread thin and that
vision is starting to become diluted a bit (I could rant on this, for
quite a while).

Your Plug-in Spy is already indispensable. Should have been in there
from the start ;)
Previous Topic:Headless build doesn't find my plugin projects
Next Topic:unexpected null return value from IPluginModelBase.getBundleDescription()
Goto Forum:
  


Current Time: Sun Apr 27 02:47:20 EDT 2025

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

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

Back to the top