You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by GitBox <gi...@apache.org> on 2023/01/18 09:01:49 UTC

[GitHub] [logging-log4j-tools] vy opened a new issue, #19: FreeMarker integration is broken on Windows due to path issues

vy opened a new issue, #19:
URL: https://github.com/apache/logging-log4j-tools/issues/19

   As [this failed CI run](/apache/logging-log4j2/actions/runs/3943007132/jobs/6747337526) indicates:
   ```
   java.lang.RuntimeException: failed exporting release from directory `D:\a\logging-log4j2\logging-log4j2\src\changelog\2.0-alpha1`
       at org.apache.logging.log4j.changelog.exporter.ChangelogExporter.main (ChangelogExporter.java:71)
       at org.codehaus.mojo.exec.ExecJavaMojo$1.run (ExecJavaMojo.java:279)
       at java.lang.Thread.run (Thread.java:750)
   Caused by: java.lang.RuntimeException: failed rendering template `D:\a\logging-log4j2\logging-log4j2\src\changelog\2.0-alpha1\.changelog.adoc.ftl` to file `D:\a\logging-log4j2\logging-log4j2\target\generated-sources\site\asciidoc\changelog\2.0-alpha1.adoc`
       at org.apache.logging.log4j.changelog.exporter.FreeMarkerUtils.render (FreeMarkerUtils.java:80)
       at org.apache.logging.log4j.changelog.exporter.ChangelogExporter.exportRelease (ChangelogExporter.java:170)
       at org.apache.logging.log4j.changelog.exporter.ChangelogExporter.exportRelease (ChangelogExporter.java:139)
       at org.apache.logging.log4j.changelog.exporter.ChangelogExporter.main (ChangelogExporter.java:63)
       at org.codehaus.mojo.exec.ExecJavaMojo$1.run (ExecJavaMojo.java:279)
       at java.lang.Thread.run (Thread.java:750)
   Caused by: freemarker.template.TemplateNotFoundException: Template not found for name "D:\\a\\logging-log4j2\\logging-log4j2\\src\\changelog\\2.0-alpha1\\.changelog.adoc.ftl".
   The name was interpreted by this TemplateLoader: FileTemplateLoader(baseDir="D:\", canonicalBasePath="D:\").
   Warning: The name contains backslash ("\") instead of slash ("/"); template names should use slash only.
       at freemarker.template.Configuration.getTemplate (Configuration.java:[28](https://github.com/apache/logging-log4j2/actions/runs/3943007132/jobs/6747337526#step:9:29)83)
       at freemarker.template.Configuration.getTemplate (Configuration.java:2685)
       at org.apache.logging.log4j.changelog.exporter.FreeMarkerUtils.render (FreeMarkerUtils.java:63)
       at org.apache.logging.log4j.changelog.exporter.ChangelogExporter.exportRelease (ChangelogExporter.java:170)
       at org.apache.logging.log4j.changelog.exporter.ChangelogExporter.exportRelease (ChangelogExporter.java:139)
       at org.apache.logging.log4j.changelog.exporter.ChangelogExporter.main (ChangelogExporter.java:63)
       at org.codehaus.mojo.exec.ExecJavaMojo$1.run (ExecJavaMojo.java:279)
       at java.lang.Thread.run (Thread.java:750)
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@logging.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [logging-log4j-tools] vy closed issue #19: FreeMarker integration is broken on Windows due to path issues

Posted by "vy (via GitHub)" <gi...@apache.org>.
vy closed issue #19: FreeMarker integration is broken on Windows due to path issues
URL: https://github.com/apache/logging-log4j-tools/issues/19


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@logging.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [logging-log4j-tools] vy commented on issue #19: FreeMarker integration is broken on Windows due to path issues

Posted by "vy (via GitHub)" <gi...@apache.org>.
vy commented on issue #19:
URL: https://github.com/apache/logging-log4j-tools/issues/19#issuecomment-1410260009

   Fixed in fd8462341106f6f522c7508e183a1c14b638fe7d.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@logging.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org