From 99b1c637125b81c5f6dcc75a8c7c88d598473d33 Mon Sep 17 00:00:00 2001
From: Regis Houssin <regis@dolibarr.fr>
Date: Fri, 28 Sep 2012 12:14:24 +0200
Subject: [PATCH] Fix: try another method for find the problem

---
 build.xml      | 3 ++-
 quickbuild.xml | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/build.xml b/build.xml
index fbfd6c3f4f6..16e418218e8 100644
--- a/build.xml
+++ b/build.xml
@@ -69,10 +69,11 @@
    
  <!-- Generate checkstyle.xml -->
  <target name="phpcs">
-  <exec executable="phpcs" dir="${basedir}" output="${basedir}/hudson/logs/checkstyle.xml">
+  <exec executable="phpcs" dir="${basedir}">
     <arg line=" --standard=${basedir}/dev/codesniffer/jenkins_ruleset.xml
     			--report=checkstyle
                 --ignore=${ignorepaths},${ignoreregexp}
+                --report-file=${basedir}/hudson/logs/checkstyle.xml
                 htdocs
                 "/>
   </exec>
diff --git a/quickbuild.xml b/quickbuild.xml
index 62c9f23dfd4..10de411e347 100644
--- a/quickbuild.xml
+++ b/quickbuild.xml
@@ -67,10 +67,11 @@
    
  <!-- Generate checkstyle.xml -->
  <target name="phpcs">
-  <exec executable="phpcs" dir="${basedir}" output="${basedir}/hudson/logs/checkstyle.xml">
+  <exec executable="phpcs" dir="${basedir}">
     <arg line=" --standard=${basedir}/dev/codesniffer/jenkins_ruleset.xml
     			--report=checkstyle
                 --ignore=${ignorepaths},${ignoreregexp}
+    			--report-file=${basedir}/hudson/logs/checkstyle.xml
                 htdocs
                 "/>
   </exec>
-- 
GitLab