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 or higher is installed, run a simple web server as follows:
Change to the directory
com.packtpub.e4.update/target/repository
.Run Python's
SimpleHTTPServer
:python -m SimpleHTTPServer 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.
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. OS X has Web Sharing where files in ~/Sites
are served from; Linux systems typically have Apache configured to allow per-user web sharing in ~/public_html
, and Microsoft Windows has IIS where the default location is c...