Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

The Update Site projects

The Eclipse update site is a website that is part of the mirrored Apache distribution on apache.org/dist/incubator/uima/eclipse-update-site.

Due to an error in setting this up initially, there is also a directory .../incubator/uima/eclipseUpdateSite which was used for the 2.2.1 release. As of the 2.2.2 release, the update site is now the eclipse-update-site directory.

The build process packs and compresses the plugin jars, and builds a packed/compressed form of the website, using Eclipse tooling to do this.

The update site support consists of several feature projects and one update site project. There is a feature project per separately installable feature. The base UIMA has 2 features. One feature is for users who might wish to integrate UIMA into an RCP - it consists of the "runtime" part of UIMA, without the Eclipse tooling plugins for UIMA. The other feature are the Eclipse tooling plugins for UIMA. The 2nd feature has the first one as a prerequisite, and also prereqs EMF.

The update site "build" is done by an ant script in the uimaj-eclipse-update-site project, called build.xml. Before running it, change the property values in the top (read the script) to reflect the version you are building.

Each time we go to a new version, we (currently) keep all things version-synchronized.

The eclipse-update-site (in apache.org/dist/incubator/uima) holds many versions. (The number is up to us - but for now, it will hold all the versions). This allows users of the Eclipse update process to select an older version, if they desire.

Old versions that were previously put up as part of the update site, are kept available. There are 3 kinds of information that are kept for older versions:

  1. the site.xml - holds references to previous versions
  2. the jars built for the features
  3. the jars for the associated plugins
    The previous plug-in jars are kept on apache.org/dist/incubator/uima; the jars for previous features are kept in SVN.

Update site build process

The version numbers are incremented in the new feature projects, and new site entries are added for the new version. The build process will create the update site in the /target of the eclipse-update-site project; this will be complete except for the jars of the previous version of the update site. The "upload" for this will therefore need to merge these files with the existing files in the update site.

Tagging the site build

Each time the update site is augmented with a new version, the affected/changed files should be tagged in SVN. The update-site build is associated with a new approved & tagged release candidate. Add a tag that has the same name as the release candidate it goes with, augmented by -eclipse-update-site. This will preserve the state of SVN that was used for building the Eclipse update site.