Skip to content

Building an Update Site

mfeber edited this page May 27, 2014 · 3 revisions
  1. Open site.xml in the Update Site project (e.g. Emacs+Update): ![Update Site View] (images/building/UpdateSiteMap.png)
  2. Click Synchronize
  3. Click Build All

This will build the necessary jars and deposit them in the project which can then be used to load/update Emacs+ in an Eclipse installation.

For more information then you will ever need, see the Plug-in Development sections in the Eclipse documentation.

Rebuilding after making changes

  1. For each module there is a corresponding Feature project (e.g. Emacs+ and Emacs+Feature). After making changes to the module, increment their version numbers (during development you can use a number after the service number [e.g. 4.0.0.xx] until ready to release when the appropriate minor or service number should be incremented using the Eclipse version numbering guidelines).
  2. In the Update Site remove the old version of the feature, and add the new.
  3. Proceed as in the previous section.

NB: Remove all the jars in the Update Site project to completely rebuild from scratch.

Maven

There are maven tools for doing this as well, but I never converted the plug-in over to use them. See this tutorial.

Clone this wiki locally