From fe9bf0f1a2d9ba507c9d2b150f6fbc5f74855fd9 Mon Sep 17 00:00:00 2001 From: Christoph Dreis Date: Fri, 24 Feb 2023 19:15:51 +0100 Subject: [PATCH] xslt task - log only the stylesheet resource name This closes #199 pull request at github.com/apache/ant --- CONTRIBUTORS | 1 + WHATSNEW | 2 ++ contributors.xml | 4 ++++ src/main/org/apache/tools/ant/taskdefs/XSLTProcess.java | 2 +- 4 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 0d22d843d..5b52cb54e 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -67,6 +67,7 @@ Chris Hegarty Chris Povirk Christian Knorr Christian Schmidt +Christoph Dreis Christoph Gysin Christoph Wilhelms Christophe Labouisse diff --git a/WHATSNEW b/WHATSNEW index 21291ed0e..7e1627530 100644 --- a/WHATSNEW +++ b/WHATSNEW @@ -1,6 +1,8 @@ Changes from Ant 1.10.13 TO Ant 1.10.14 ======================================= + * log only the stylesheet name in the xslt task. + Github Pull Request #199 Changes from Ant 1.10.12 TO Ant 1.10.13 ======================================= diff --git a/contributors.xml b/contributors.xml index 0ef36b213..395f9c34f 100644 --- a/contributors.xml +++ b/contributors.xml @@ -296,6 +296,10 @@ Christian Schmidt + + Christoph + Dreis + Christoph Gysin diff --git a/src/main/org/apache/tools/ant/taskdefs/XSLTProcess.java b/src/main/org/apache/tools/ant/taskdefs/XSLTProcess.java index 237f5d8a9..ef2b1a727 100644 --- a/src/main/org/apache/tools/ant/taskdefs/XSLTProcess.java +++ b/src/main/org/apache/tools/ant/taskdefs/XSLTProcess.java @@ -1258,7 +1258,7 @@ public class XSLTProcess extends MatchingTask implements XSLTLogger { stylesheetLoaded = true; try { - log("Loading stylesheet " + stylesheet, Project.MSG_INFO); + log("Loading stylesheet " + stylesheet.getName(), Project.MSG_INFO); // We call liaison.configure() and then liaison.setStylesheet() // so that the internal variables of liaison can be set up if (liaison instanceof XSLTLiaison2) {