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 – serving an update site


Now that the update site has been developed, tested and automatically built, the final stage is to upload the contents of the update site (under com.packtpub.e4.update/target/repository) and make it available on a website or FTP server so that others can install it. If Python 2.7+ is installed, run a simple web server as follows.

  1. Change to the directory com.packtpub.e4.update/target/repository.

  2. Run the Python SimpleHTTPServer module (for Python 2) or the http.server module (for Python 3):

    python -m SimpleHTTPServer 8080
    Serving HTTP on 0.0.0.0 port 8080 ...
    
    python3 -m http.server 8080
    Serving HTTP on 0.0.0.0 port 8080 ...
    
  3. Verify the update site by adding http://localhost:8080/ as a remote update site in Eclipse.

If you don't have Python installed, then some operating systems have a means to serve web-based content already, or another web server can be used. macOS has web sharing where files in ~/Sites are served from, Linux systems typically have Apache...