Browse Source

Dita log ant errors

Piotr Labudda 9 years ago
parent
commit
5da6424531
1 changed files with 1 additions and 1 deletions
  1. 1 1
      SE/se-lib/Route/Dita.php

+ 1 - 1
SE/se-lib/Route/Dita.php

@@ -68,7 +68,7 @@ class Route_Dita extends RouteBase {
 
         $execPath = APP_PATH_SCHEMA . DS . 'dita' . DS . $ditaPath;
         $ant = APP_PATH_WWW . DS . 'stuff' . DS . 'dita-ot-2.3.3' . DS . 'bin' . DS . 'ant';
-        $cmd = "cd {$execPath} && {$ant}";
+        $cmd = "cd {$execPath} && {$ant} 2>&1";// wymaga java jdk
         V::exec($cmd, $out, $ret);
         DBG::_(true, true, "cmd: {$cmd} (return: {$ret})", $out, __CLASS__, __FUNCTION__, __LINE__);
       }