[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.rcp] Re: Product Configuration based on features

Baskaran wrote:
Hi Paul Webster,

Yes, for plugin based project we need to directly add all the necessary plugins in the plugin.xml under Dependencies tab. But, in feature based project we need to create features which contains the necessary plugin and we need to add the features in the main plugin.

The following two plugins are added automatically, ie., I did not added these manually:
1, "org.eclipse.equinox.launcher" and 2, "org.eclipse.equinox.launcher.win32.win32.x86"


But the same is not happening while creating feature based project. Is it the normal behaviour? Is it documented anywhere?

Thanks

This is supposed to happen automatically, however it looks like it doesn't always happen for feature based products.

I raised bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=281224.

To get the launchers automatically added to feature based products, make sure you have the delta pack. The deltapack contains the launchers and platform specific fragments for all platforms. You should download the one that corresponds to the version of eclipse you are running.
3.4.2 is here:
http://download.eclipse.org/eclipse/downloads/drops/R-3.4.2-200902111700/download.php?dropFile=eclipse-3.4.2-delta-pack.zip


In 3.4.2, unzip the deltapack over your target/install and make sure in Preferences -> Plug-in Development -> Target Platform, uncheck the "Build Target based on the target's installed plug-ins"

In 3.5, unzip the deltapack into its own directory on disk. And then in
the Target Platform Preferences, Edit the active target and add the eclipse directory from where you extracted the deltapack.


Once you have the deltapack installed, then the launchers should get added automatically. (Also, you have a new option to do cross platform product exports).

-Andrew