commit | 8621c4894cd4c912dc5fae65b5be516daba46059 | [log] [tgz] |
---|---|---|
author | ddekany <ddekany@apache.org> | Tue Nov 14 23:00:15 2017 +0100 |
committer | ddekany <ddekany@apache.org> | Tue Nov 14 23:00:15 2017 +0100 |
tree | 5f8a8e031720e36ceb188585a08ebdab65a05422 | |
parent | 397f9af54c00d73c9bb8f1176a1d06cd343ddac3 [diff] |
Workaround for case when users manage to submit templates that spend very long time in non-interruptible code (which is not part of FreeMarker, and we can't do much about it). We simply stop() the offending thread... risky, but still better than a thread that works forever.
Apache FreeMarker Online Tester is an effort undergoing incubation at The Apache Software Foundation (ASF). Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.
It‘s a web page to quickly try template snippets, with some simple data-model. It’s especially handy for learning the template language.
For a deployed version of this tool you can visit http://freemarker-online.kenshoo.com/ (or soon http://try.freemarker.org/)
./gradlew build
from the cloned directory (use JDK 8)./gradlew cleanidea idea
; this will generate the IDEA project for you.shadowJar
(not jar
) and then just issue java -jar build/libs/freemarker-online-<VERSION>.jar server src/main/resources/freemarker-online.yml
, then visit http://localhost:8080/FreeMarker-Online is licensed under the Apache License, Version 2.0. See the LICENSE
file for details.