summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Dreis <christoph.dreis@freenet.de>2023-02-24 19:15:51 +0100
committerJaikiran Pai <jaikiran@apache.org>2023-02-27 18:01:10 +0530
commitfe9bf0f1a2d9ba507c9d2b150f6fbc5f74855fd9 (patch)
treed5d3edcae7441a8ad3263ae4fa944488a8fc41f8
parent014e94e5d1e289acaf8a4e6e7234662c065d48b2 (diff)
downloadant-fe9bf0f1a2d9ba507c9d2b150f6fbc5f74855fd9.tar.gz
xslt task - log only the stylesheet resource name
This closes #199 pull request at github.com/apache/ant
-rw-r--r--CONTRIBUTORS1
-rw-r--r--WHATSNEW2
-rw-r--r--contributors.xml4
-rw-r--r--src/main/org/apache/tools/ant/taskdefs/XSLTProcess.java2
4 files changed, 8 insertions, 1 deletions
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
@@ -298,6 +298,10 @@
</name>
<name>
<first>Christoph</first>
+ <last>Dreis</last>
+ </name>
+ <name>
+ <first>Christoph</first>
<last>Gysin</last>
</name>
<name>
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) {