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 – using the target platform


Although building against a remote repository works as expected, it may have dependencies on plug-ins or features that aren't represented in the target platform created in Chapter 10, Using a Target Platform. To compile against a target platform, a new Maven module needs to be created.

  1. Move the com.packtpub.e4.target.mars project underneath the com.packtpub.e4.parent project.

  2. Add the line <module>com.packtpub.e4.target.mars</module> to the parent pom.xml file.

  3. Comment out the repositories tags in the parent pom.xml file.

  4. In the configuration element of the target-plugin-configuration entry, add the co-ordinates of the com.packtpub.e4.target.mars project:

    <plugin>
      <groupId>org.eclipse.tycho</groupId>
      <artifactId>tycho-platform-configuration</artifactId>
      <version>${tycho.version}</version>
      <configuration>
        <target>
          <artifact>
            <groupId>com.packtpub.e4...