This is the example code for the Eclipse RCP training sessions from vogella GmbH and from the Eclipse Rich Client Platform book.
Clone the project and import all projects into the Eclipse IDE.
Then open the target-platform.target file of the target-platform project and set this target definition as target platform for your workspace.
When the compile errors are gone the target platform has been properly set and the product located in the com.example.e4.rcp.todo.product project can be run.