Copyright © 2008, 2009, 2010, 2011, 2012, 2013 Lars Vogel
|Revision 0.2 - 2.3||20.04.2009 - 12.08.2013||Lars
|bug fixes and enhancements|
Table of Contents
An Eclipse feature project contains features. A feature describes a list of plug-ins and other features which can be understood as a logical unit. It also has a name, version number and license information assigned to it.
is described via a
file. For example the
file might look
following in a text
<?xml version="1.0" encoding="UTF-8"?> <feature id="de.vogella.featuretest.feature" label="Feature" version="1.0.0.qualifier" provider-name="EXAMPLE"> <description url="http://www.example.com/description"> [Enter Feature Description here.] </description> <copyright url="http://www.example.com/copyright"> [Enter Copyright Description here.] </copyright> <license url="http://www.example.com/license"> [Enter License Description here.] </license> <plugin id="de.vogella.featuretest.testplugin" download-size="0" install-size="0" version="0.0.0" unpack="false"/> </feature>
The grouping of plug-ins into logical units makes it easier to handle a set of plug-ins. Instead of adding a large number of individual plug-ins to your product configuration file you can group them using features. That increases the visibility of your application structure.
Features can be used by the Eclipse update manager, the build process and optionally for the definition of Eclipse products. Features can also be used as the basis for a launch configuration.
Eclipse provides several predefined features, e.g.
for Eclipse 4 based RCP applications.
You can create a new feature project via the following menu path:→ → → → .
If you open the
file you can change the feature
properties via a special editor.
The Information tab allows you to enter a description and copyright related information for this feature.
The Plug-ins tab allows you to change the included plug-ins in the feature. The Included Features tab allows you to include other features into this feature. Via the Dependencies tab you can define other features which must be present to use this feature.
tab is used for the build process and should include the
file. The last two tabs give access to the configuration files in text
Maintaining high quality free online tutorials is a lot of work. Please support free tutorials by donating or by reporting typos and factual errors.
If you find errors in this tutorial, please notify me (see the top of the page). Please note that due to the high volume of feedback I receive, I cannot answer questions to your implementation. Ensure you have read the vogella FAQ as I don't respond to questions already answered there.
vogella Training Android and Eclipse Training from the vogella team
Android Tutorial Introduction to Android Programming
Eclipse RCP Tutorial Create native applications in Java
JUnit Tutorial Test your application
Git Tutorial Put all your files in a distributed version control system