Item365: Build script cannot run commands using sys_action method
Priority: Urgent
Current State: Closed
Released In: 1.0.0
Target Release: patch
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