Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz4j
[yaz4j-moved-to-github.git] / pom.xml
diff --git a/pom.xml b/pom.xml
index 49e9ac9..a225618 100644 (file)
--- a/pom.xml
+++ b/pom.xml
                 <configuration>
                   <tasks>
                     <exec executable="${yaz.config}" 
-                      outputproperty="yaz-config.include">
+                      outputproperty="yaz-config.include"
+                      errorproperty="yaz-config.error">
                       <arg value="--include" />
                     </exec>
+                    <echo 
+                      message="yaz-config error (if any): ${yaz-config.error}"/>
                     <condition property="yaz.include" 
                       value="-I/usr/include"
                       else="${yaz-config.include}">