You are here: Foswiki>Tasks Web>Item365 (01 Dec 2008, CrawfordCurrie)Edit Attach

Item365: Build script cannot run commands using sys_action method

pencil
Priority: Urgent
Current State: Closed
Released In: 1.0.0
Target Release: patch
Applies To: Engine
Component: BuildContrib
Branches:
Reported By: Foswiki:Main.KennethLavrsen
Waiting For:
Last Change By: CrawfordCurrie
Build script cannot run commands using sys_action method

No matter what you give it you end up with "command not found"

I have tried everything incl giving absolute path or running a simple "ls /usr"

This manifests itself when you build a plugin that again needs to run commands to build.

Example is FoswikiDrawPlugin.

If I replace the $this->sys_action("ant -f build.xml build"); with dirty `ant -f build.xml build` the plugin builds fine.

It is the build script that for some reason will not run anything.

To the best of my knowledge this only affects older build files that pass an entire command to sys_action, instead of individual parameters i.e just the draw plugin This was a change made a long time ago, but I guess I forgot to update this one.

-- CrawfordCurrie - 01 Dec 2008

ItemTemplate edit

Summary Build script cannot run commands using sys_action method
ReportedBy Foswiki:Main.KennethLavrsen
Codebase
SVN Range TWiki-4.2.3, Wed, 06 Aug 2008, build 17396
AppliesTo Engine
Component BuildContrib
Priority Urgent
CurrentState Closed
WaitingFor
Checkins FoswikiDrawPlugin:3898286a3066
TargetRelease patch
ReleasedIn 1.0.0
Topic revision: r3 - 01 Dec 2008, CrawfordCurrie
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