Version 2.2
Copyright © 2008, 2009, 2010, 2011, 2012 Lars Vogel
28.06.2012
| Revision History | |||
|---|---|---|---|
| Revision 0.1 | 30.11.2008 | Lars Vogel |
created |
| Revision 0.2 - 2.2 | 20.04.2009 - 28.06.2012 | Lars Vogel |
bug fixes and enhancements |
Table of Contents
An Eclipse feature project contains features. A feature has a name, version number, a software license and contains a list of plug-ins and other features which can be understood as a logical unit.
A feature is described via a
feature.xml
file in the Eclipse
feature
project.
Features are 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.
org.eclipse.rcp
for Eclipse 3.x based RCP applications or
org.eclipse.e4.rcp
for Eclipse 4 based RCP applications.
You can create a new feature project via the following menu path: → → → → .
If you open the
feature.xml
file you can change the feature
properties via a special editor.

The Plug-ins tab allows you to change the included plug-ins in the feature.

The
feature.xml
file is a simple text file. For example the
file might look like the following in a text
editor.
<?xml version="1.0" encoding="UTF-8"?> <feature id="de.vogella.featuretest.feature" label="Feature" version="1.0.0.qualifier"> <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>
Before posting questions, please see the vogella FAQ. If you have questions or find an error in this article please use the www.vogella.com Google Group. I have created a short list how to create good questions which might also help you.
vogella Training Android and Eclipse Training from the vogella team
Android Tutorial Introduction to Android Programming
GWT Tutorial Program in Java and compile to JavaScript and HTML
Eclipse RCP Tutorial Create native applications in Java
JUnit Tutorial Test your application
Git Tutorial Put everything you have under distributed version control system