The target platform created in the previous section is based on the Eclipse instance. It is much better to create a target platform for a specific version of Eclipse so that dependencies and testing can be performed against a specific version.
Open the
com.packtpub.e4.target.mars.target
target definition file and remove the org.eclipse.e4.rcp, org.eclipse.platform and org.eclipse.rcp features, which correspond to the features in the current Eclipse instance.Click on Add and choose Software Site. In the Work with field, enter the update site for Eclipse Mars http://download.eclipse.org/releases/mars/ and then choose the Eclipse e4 Rich Client Platform (
org.eclipse.e4.rcp
), Eclipse Platform (org.eclipse.platform
), and Eclipse RCP (org.eclipse.rcp
) features from this list:After the update dialog has finished downloading the requirements, click on Set as Target Platform again to rebuild the projects with the Mars-specific version of Eclipse.