title: How can I auto include whole Freemarker template package in Spring Boot?
body: <p>I have <code>layout.ftl</code> file auto include configured in <code>application.properties</code> like this:</p>
  
  <pre><code>spring.freemarker.settings.auto_include = macro/layout.ftl
  </code></pre>
  
  <p>That works fine, however now I'm adding more and more macros in the <code>macro</code> package, so my configuration is slowly getting flooded like this:</p>
  
  <pre><code>spring.freemarker.settings.auto_include = macro/layout.ftl, macro/macro1.ftl, macro/macro2.ftl, macro/macro3.ftl, macro/macro4.ftl
  </code></pre>
  
  <p>Is it possible to auto include whole <code>macro</code> package at once? I tried:</p>
  
  <pre><code>spring.freemarker.settings.auto_include = macro
  spring.freemarker.settings.auto_include = macro/
  spring.freemarker.settings.auto_include = macro/*
  spring.freemarker.settings.auto_include = macro/*.ftl
  </code></pre>
  
  <p>None of these seem to work.</p>