output the path to the rat report in case of error

Project: http://git-wip-us.apache.org/repos/asf/ant-ivy/repo
Commit: http://git-wip-us.apache.org/repos/asf/ant-ivy/commit/6238cdc7
Tree: http://git-wip-us.apache.org/repos/asf/ant-ivy/tree/6238cdc7
Diff: http://git-wip-us.apache.org/repos/asf/ant-ivy/diff/6238cdc7

Branch: refs/heads/master
Commit: 6238cdc7234043526c1b9cea6278a1de041ffcce
Parents: 8e3a104
Author: Nicolas Lalevée <nicolas.lale...@hibnet.org>
Authored: Wed Apr 11 14:25:02 2018 +0200
Committer: Nicolas Lalevée <nicolas.lale...@hibnet.org>
Committed: Wed Apr 11 14:25:02 2018 +0200

----------------------------------------------------------------------
 build-release.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ant-ivy/blob/6238cdc7/build-release.xml
----------------------------------------------------------------------
diff --git a/build-release.xml b/build-release.xml
index 41ccd5b..0834664 100644
--- a/build-release.xml
+++ b/build-release.xml
@@ -508,7 +508,7 @@
             </fileset>
         </rat:report>
 
-        <fail message="Some files have missing or incorrect license 
information. Check RAT report for more details!">
+        <fail message="Some files have missing or incorrect license 
information. Check RAT report for more details: 
${rat.report.dir}/rat-report.txt">
             <condition>
                 <and>
                     <not><resourcecontains 
resource="${rat.report.dir}/rat-report.txt" substring="0 Unknown Licenses" 
casesensitive="false"/></not>

Reply via email to