You are here: Foswiki>Tasks Web>Item12661 (28 Jan 2015, GeorgeClark)Edit Attach

Item12661: Add support for recursive manifests in BuildContrib

pencil
Priority: Enhancement
Current State: Closed
Released In: n/a
Target Release: n/a
Applies To: Extension
Component: BuildContrib
Branches: Release01x01 trunk
Reported By: GeorgeClark
Waiting For:
Last Change By: GeorgeClark
BuildContrib supports MANIFEST files with the !include statement used when building Foswiki core. The MANIFEST file issues !include for each of the default extensions. The statement points to the Plugins or Contrib directory of each extension.

!include ../AutoViewTemplatePlugin/lib/Foswiki/Plugins/AutoViewTemplatePlugin
!include ../CompareRevisionsAddOn/lib/Foswiki/Contrib/CompareRevisionsAddOn

This task extends that to include MANIFEST files directly. In lib/Foswiki/Contrib/BuildContrib/BaseBuild.pm, alter the routine readManifest. If !include points to a file, recursively call readManifest() to process the file. Otherwise append the directory to the list of "other modules".

Purpose of this is to allow us to ship multiple versions of the TinyMCE editor, each with it's own manifest, instead of requiring one large merged MANIFEST.

Note that BuildContrib merges all individual MANIFEST files into a single manifest embedded into the _installer file.

-- GeorgeClark - 21 Nov 2013
Topic revision: r7 - 28 Jan 2015, GeorgeClark
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy