Version 0.5
Copyright © 2008 - 2010 Lars Vogel
01.06.2010
| Revision History | ||
|---|---|---|
| Revision 0.1 | 30.11.2008 | Lars Vogel |
| Created Article | ||
| Revision 0.2 | 20.04.2009 | Lars Vogel |
| Added links to Eclipse RCP and Eclipse Plugin development | ||
| Revision 0.3 | 25.05.2009 | Lars Vogel |
| feature.xml described | ||
| Revision 0.4 | 03.02.2010 | Lars Vogel |
| Fixed missing part | ||
| Revision 0.5 | 01.06.2010 | Lars Vogel |
| Update to Eclipse 3.6 (Helios) | ||
Table of Contents
A feature project is basically a list of plugins and other features which can be understood as a logical separate unit. As of Eclipse 3.6 features can be used as the basis for a launch configuration. Eclipse also uses feature projects for the updates manager and for the build process. You can also supply a software license which a feature.
The following description will focus on the creation of features. Feature can be used for grouping Eclipse Plugins or for the development of Eclipse RCP applications .
The following will explain how to create an Eclipse feature project.
Create a Eclipse RCP application "de.vogella.featuretest.testplugin". Use the "RCP application with a view" as a template.
Create a feature project "de.vogella.featuretest.feature" via File ->New -> Other -> Plug-in Development -> "Feature Project".


In your new project you have now a file feature.xml. Select this file to get an editor to maintain the properties. For example change the name of your feature to the project name "de.vogella.featuretest.feature".

The tab "Plug-ins" allows you to change the plugins which are in the feature.

You have created a feature project. This feature project contains only one plugin but in general you would add a group of related plugins to your feature. The feature can then be the basis for building your software, for automatic update functionality and for creating launch configuration.
Thank you for practicing with this tutorial.
I maintain this tutorial in my private time. If you like the information please help me by using flattr or donating or by
|
Before posting questions, please see the vogella FAQ . If you have questions or find an error in this article please use the www.vogella.de Google Group . I have created a short list how to create good questions which might also help you. .