Book Image

Eclipse Plug-in Development Beginner's Guide - Second Edition

By : Alex Blewitt
Book Image

Eclipse Plug-in Development Beginner's Guide - Second Edition

By: Alex Blewitt

Overview of this book

Eclipse is used by everyone from indie devs to NASA engineers. Its popularity is underpinned by its impressive plug-in ecosystem, which allows it to be extended to meet the needs of whoever is using it. This book shows you how to take full advantage of the Eclipse IDE by building your own useful plug-ins from start to finish. Taking you through the complete process of plug-in development, from packaging to automated testing and deployment, this book is a direct route to quicker, cleaner Java development. It may be for beginners, but we're confident that you'll develop new skills quickly. Pretty soon you'll feel like an expert, in complete control of your IDE. Don't let Eclipse define you - extend it with the plug-ins you need today for smarter, happier, and more effective development.
Table of Contents (24 chapters)
Eclipse Plug-in Development Beginner's Guide Second Edition
Credits
Foreword
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

Time for action – switching to a specific version


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.

  1. 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.

  2. 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:

  3. 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.

What...