Skip to content
Dmitry Gusev edited this page Mar 5, 2022 · 3 revisions

Welcome!

Eclipse Update site

This Wiki is used primarily to host the Eclipse update site for the plugin:

https://raw.githubusercontent.com/wiki/anjlab/eclipse-tapestry5-plugin/update-site

You won't find anything if you click the above link in a browser, but it contains all necessary files for Eclipse to find and install the plugin and its features.

update-site/
 |
 +- artifacts.jar          // These are the index files
 +- content.jar            // which point to hardcoded latest version
 |                         // these files get replaced every release
 +- <version-name-1>
 |   |
 |   +- artifacts.jar      // Local index files point to this version only
 |   +- content.jar        // you can install specific version by appending release folder to update site URL
 |   +- plugins/           // e.g. https://raw.githubusercontent.com/wiki/anjlab/eclipse-tapestry5-plugin/update-site/2.13.6
 |   +- features/
 ...
 +- <version-name-X>
     |
     +- artifacts.jar
     +- content.jar
     +- plugins/
     +- features/

How to publish a new release

Prerequisites:

  1. You know How to build

  2. You cloned this Wiki Git repository:

    git clone git@github.com:anjlab/eclipse-tapestry5-plugin.wiki.git

  1. Use Find and Replace in all projects to change all occurrences of the current version with a new value
  2. Delete features, plugins, artifacts.jar, and content.jar files from the update-site folder
  3. Right-click update-site/site.xml and select Plug-in Tools -> Build Site
  4. Run ./update-site/package.sh, this should produce 2 files and 1 folder in the update-site folder: artifacts.jar, content.jar, <version-name>/
  5. Move above 2 files and 1 folder with its content to the wiki's update-site folder, overwriting artifacts.jar and content.jar files
  6. Commit and push both source code and the wiki repository
Clone this wiki locally