ソースを参照

Usunięcie ścieżki do binarki ant

Mariusz Muszyński 8 年 前
コミット
545ff82f8d
1 ファイル変更1 行追加1 行削除
  1. 1 1
      SE/se-lib/Route/UrlAction/BiAuditGenerate.php

+ 1 - 1
SE/se-lib/Route/UrlAction/BiAuditGenerate.php

@@ -2655,7 +2655,7 @@ class BiAuditPowiazania {
 			self::saveToLog("Nie wygenerowano plików PDF oraz HTML - problem z utworzeniem katalogu dla ant ({$resultsPart})");
 		} else {
 			copy($xmlFile, $antXmlFile);
-			self::exec("cd /Library/Server/Web/Data/Sites/Default/SE/schema/WPS_Functions/default_db/CRM_PROCES_tree && /opt/local/bin/ant -f build_CRM_PROCES_tree.xml default_db:PROCES_INIT:tree:dita -Duuid=relations-{$id_part}");
+			self::exec("cd /Library/Server/Web/Data/Sites/Default/SE/schema/WPS_Functions/default_db/CRM_PROCES_tree && ant -f build_CRM_PROCES_tree.xml default_db:PROCES_INIT:tree:dita -Duuid=relations-{$id_part}");
 			self::saveToLog("Generuję plik PDF ({$resultsPart})");
 			self::exec("cd \"/Library/Server/Web/Data/Sites/Default/SE/schema/WPS_Functions/default_db/CRM_PROCES_tree/temp/relations-{$id_part}\" && /Library/Server/Web/Data/Sites/Default/SE/stuff/dita-ot-2.3.3/bin/dita -o pdf -i relations-{$id_part}.ditamap -f pdf");
 			if (file_exists($pdfFile)) {