You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by ja...@apache.org on 2023/02/27 12:32:15 UTC

[ant] branch master updated: xslt task - log only the stylesheet resource name This closes #199 pull request at github.com/apache/ant

This is an automated email from the ASF dual-hosted git repository.

jaikiran pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ant.git


The following commit(s) were added to refs/heads/master by this push:
     new fe9bf0f1a xslt task - log only the stylesheet resource name This closes #199 pull request at github.com/apache/ant
fe9bf0f1a is described below

commit fe9bf0f1a2d9ba507c9d2b150f6fbc5f74855fd9
Author: Christoph Dreis <ch...@freenet.de>
AuthorDate: Fri Feb 24 19:15:51 2023 +0100

    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 @@
     <first>Christian</first>
     <last>Schmidt</last>
   </name>
+  <name>
+    <first>Christoph</first>
+    <last>Dreis</last>
+  </name>
   <name>
     <first>Christoph</first>
     <last>Gysin</last>
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) {