Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

It's recommended that you add 1 or more categories to organize your features in the site map tab and that you keep features small in size (e.g. as few plug-ins as possible). The categories will help users determine what each feature contains (e.g. Buildings, Bridges, etc) and keeping the features small will allow users to only install what they want (e.g. don't group buildings/bridges/networks/etc in the same feature). After you have created the categories and added your features to them, if you click the Build All button you will see a features and plugins folder created along with an artifacts.jar and content.jar. Those created files/folders along with the site.xml is what will go in your update site folder. See the next section for details.

Hosting your Update Site

Setting up the update site is fairly straightforward. If you an Apache or equivalent web-server installed on a machine (for this tutorial we'll assume Apache on an Ubuntu machine), then all you need to do is copy the following to the web server's root folder /var/www/:

  1. features folder
  2. plugins folder
  3. artifacts.jar file
  4. content.jar file
  5. site.xml file

After copying those files to your web server root folder, you can test your update site by launching mHARP-EQ and doing the following:

  1. Go to Help > Install New Software...
  2. Click the Add... button and enter a Name and the Location (e.g. the web address of your update site).
  3. Click OK
  4. Where it says Work with:, select your update site. You should see your categories and features listed in the dialog.