Item8721: MANIFEST error in JQueryPlugin

pencil
Priority: Normal
Current State: Closed
Released In: 1.1.0
Target Release: minor
Applies To: Extension
Component: JQueryPlugin, DebianPackage
Branches:
Reported By: PaulHarvey
Waiting For:
Last Change By: KennethLavrsen
MANIFEST incorrect; contains jquery.validate.methods.* instead of (I think) jquery.validate.foswiki-methods.*

So below are a couple of vim tricks that I finally got working, so that I can reliably rebuild the manifest automatically and apply the following regexes to get the minified/gzipped versions where appropriate

  1. Assume extension directory has all minified and gzipped files removed
  2. Generate a new MANIFEST using ./build.pl manifest
  3. Insert .gz entries for any .css or .js file that does NOT have .uncompressed in their name:
     %s/^\(.*uncompressed.*\)\@!\(.*\)\.\(css\|js\)\(.*$\)/\1\2.\3\r\1\2.\3.gz/
  4. Insert .gz AND minified entries for all .uncompressed.files:
    %s/^\(.*\)\.\(uncompressed\)\.\(js\|css\)\(.*\)$/\1.\2.\3\4\r\1.\3\4\r\1.\3.gz\4
Added a full recipe for updating TinyMCEPlugin at Development.TinyMCEPlugin

-- PaulHarvey - 17 Mar 2010

MANIFEST seems to be fine by now.

-- MichaelDaum - 07 Jun 2010
Topic revision: r14 - 13 Sep 2010, KennethLavrsen
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