groovy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pa...@apache.org
Subject groovy git commit: output slightly more info when encountering groovydoc errors
Date Fri, 07 Oct 2016 08:14:25 GMT
Repository: groovy
Updated Branches:
  refs/heads/master 445869f43 -> d0b513ae0


output slightly more info when encountering groovydoc errors


Project: http://git-wip-us.apache.org/repos/asf/groovy/repo
Commit: http://git-wip-us.apache.org/repos/asf/groovy/commit/d0b513ae
Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/d0b513ae
Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/d0b513ae

Branch: refs/heads/master
Commit: d0b513ae0782027670057a4745cd13d077a4f790
Parents: 445869f
Author: paulk <paulk@asert.com.au>
Authored: Fri Oct 7 18:12:59 2016 +1000
Committer: paulk <paulk@asert.com.au>
Committed: Fri Oct 7 18:14:09 2016 +1000

----------------------------------------------------------------------
 .../codehaus/groovy/tools/groovydoc/GroovyDocTemplateEngine.java  | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/groovy/blob/d0b513ae/subprojects/groovy-groovydoc/src/main/java/org/codehaus/groovy/tools/groovydoc/GroovyDocTemplateEngine.java
----------------------------------------------------------------------
diff --git a/subprojects/groovy-groovydoc/src/main/java/org/codehaus/groovy/tools/groovydoc/GroovyDocTemplateEngine.java
b/subprojects/groovy-groovydoc/src/main/java/org/codehaus/groovy/tools/groovydoc/GroovyDocTemplateEngine.java
index ef25bb4..07f7119 100644
--- a/subprojects/groovy-groovydoc/src/main/java/org/codehaus/groovy/tools/groovydoc/GroovyDocTemplateEngine.java
+++ b/subprojects/groovy-groovydoc/src/main/java/org/codehaus/groovy/tools/groovydoc/GroovyDocTemplateEngine.java
@@ -87,6 +87,7 @@ public class GroovyDocTemplateEngine {
             binding.put("props", properties);
             templateWithBindingApplied = t.make(binding).toString();
         } catch (Exception e) {
+            System.out.println("Error processing class template for: " + classDoc.getFullPathName());
             e.printStackTrace();
         }
         return templateWithBindingApplied;
@@ -105,6 +106,7 @@ public class GroovyDocTemplateEngine {
             binding.put("props", properties);
             templateWithBindingApplied = t.make(binding).toString();
         } catch (Exception e) {
+            System.out.println("Error processing package template for: " + packageDoc.name());
             e.printStackTrace();
         }
         return templateWithBindingApplied;
@@ -123,6 +125,7 @@ public class GroovyDocTemplateEngine {
             binding.put("props", properties);
             templateWithBindingApplied = t.make(binding).toString();
         } catch (Exception e) {
+            System.out.println("Error processing root doc template");
             e.printStackTrace();
         }
         return templateWithBindingApplied;


Mime
View raw message