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.
- Change to the directory
com.packtpub.e4.update/target/repository
. - Run the Python
SimpleHTTPServer
module (for Python 2) or thehttp.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 ...
- Verify the update site by adding
http://localhost:8080/
as a remote update site in Eclipse. ...
Get Eclipse Plug-in Development Beginner's Guide - Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.