You are here: Foswiki>Tasks Web>Item8770 (25 Mar 2010, MichaelDaum)Edit Attach

Item8770: JQueryPlugin does not build

pencil
Priority: Urgent
Current State: Closed
Released In:
Target Release: n/a
Applies To: Extension
Component:
Branches:
Reported By: CrawfordCurrie
Waiting For:
Last Change By: MichaelDaum
JQueryPlugin does not build, due to inconsistencies between the files in the MANIFEST and the contents of the repository.

cd core && perl pseudo-install.pl JQueryPlugin reports:
Installing extensions: JQueryPlugin
Processing JQueryPlugin
WARNING: Cannot find source file for /home/foswiki/trunk/core/../JQueryPlugin/#/pub/System/JQueryPlugin/plugins/validate/jquery.validate.methods.js
WARNING: Cannot find source file for /home/foswiki/trunk/core/../JQueryPlugin/#/pub/System/JQueryPlugin/plugins/validate/jquery.validate.methods.js
WARNING: Cannot find source file for /home/foswiki/trunk/core/../JQueryPlugin/#/pub/System/JQueryPlugin/plugins/validate/jquery.validate.methods.uncompressed.js
 JQueryPlugin installed

cd JQueryPlugin/lib/Foswiki/Plugins/JQueryPlugin && perl build.pl release reports
Loaded config from /home/crawford/.buildcontrib

Building release 3.31 of JQueryPlugin, from version 6803 (2010-03-20)
/home/foswiki/trunk/JQueryPlugin/pub/System/JQueryPlugin/plugins/validate/jquery.validate.methods.js does not exist at /home/foswiki/trunk/core/lib/Foswiki/Contrib/Build.pm line 1508.

It looks like jquery.validate.methods.js may have been renamed jquery.validate.foswiki-methods.js without the MANIFEST being updated.

-- CrawfordCurrie - 25 Mar 2010

No. The file is created by the make system by concatenating two others. Will check it in although it is a derived file. We can remove it again once BuildContrib can do things like that.

-- MichaelDaum - 25 Mar 2010

The buildcontrib can do things like that. All you have to do is override the target in your local build script. However I would be very cautious of requiring make to be present, as IME it isn't or, if it is, it's the wrong version (there are many forms of make)

-- CrawfordCurrie - 25 Mar 2010

We can discuss pros and cons of make, gmake, nmake, ant, and a selfmade perl solution 4ever. However, not now - not here. All we need is getting this thing build & released.

-- MichaelDaum - 25 Mar 2010
Topic revision: r4 - 25 Mar 2010, MichaelDaum
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