<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: updateDelay not forcing recompile of modified FTLs in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/updatedelay-not-forcing-recompile-of-modified-ftls/m-p/233021#M186151</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This development mode change to share-config-custom.xml doesn't seem to help me.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In Alfresco 3.4b, I seem to be having a problem getting little test changes to the templates (such as removing the toolbar region in documentlibrary.ftl) in &amp;lt;share webapp&amp;gt;/WEB-INF/classes/alfresco/templates/org/alfresco/templates to have any affect.&amp;nbsp; The changes don't seem to take affect for me even after I've restarted tomcat.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm guessing that I just don't understand some basic thing and I'm doing it wrong.&amp;nbsp; Anyone, If I've successfully pointed out my ignorance, let me know (nicely) and I'll be very grateful.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Nov 2010 17:55:39 GMT</pubDate>
    <dc:creator>gregbpopstar</dc:creator>
    <dc:date>2010-11-11T17:55:39Z</dc:date>
    <item>
      <title>updateDelay not forcing recompile of modified FTLs</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/updatedelay-not-forcing-recompile-of-modified-ftls/m-p/233018#M186148</link>
      <description>Hi everyone,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I'm developing some FTLs in Share and finally got fed up with having to bounce the webapp for each change I made. I started digging into this and found the following lines in "custom-slingshot-application-context.xml":&amp;nbsp;&amp;nbsp; &amp;lt;bean id="webframework.webscripts.templateprocessor.freema</description>
      <pubDate>Wed, 28 Jul 2010 19:23:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/updatedelay-not-forcing-recompile-of-modified-ftls/m-p/233018#M186148</guid>
      <dc:creator>tarh33l</dc:creator>
      <dc:date>2010-07-28T19:23:30Z</dc:date>
    </item>
    <item>
      <title>Re: updateDelay not forcing recompile of modified FTLs</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/updatedelay-not-forcing-recompile-of-modified-ftls/m-p/233019#M186149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Add the following config to share-config-custom.xml in the tomcat/shared/classes/alfresco/web-extensions folder.&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;lt;alfresco-config&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;config evaluator="string-compare" condition="WebFramework"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;web-framework&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!– Autowire Runtime Settings –&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;autowire&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!– Pick the mode: development, preview, production –&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;mode&amp;gt;development&amp;lt;/mode&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/autowire&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/web-framework&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;/config&amp;gt;&lt;BR /&gt;&amp;lt;/alfresco-config&amp;gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;You don't need to bounce the webapp (although with the share.war deployed in a separate Tomcat server, this should only take 10 seconds or so…) you can reset the webscripts instead at /share/service/index&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Finally, you can wrap the reset webscripts POST request in a simple script that calls curl if you like.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jul 2010 20:16:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/updatedelay-not-forcing-recompile-of-modified-ftls/m-p/233019#M186149</guid>
      <dc:creator>mikeh</dc:creator>
      <dc:date>2010-07-28T20:16:46Z</dc:date>
    </item>
    <item>
      <title>Re: updateDelay not forcing recompile of modified FTLs</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/updatedelay-not-forcing-recompile-of-modified-ftls/m-p/233020#M186150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Mike. These FTLs are actually being created for Share pages, not webscripts. As a result, refreshing the webscripts doesn't work (although, if I change an FTL for a webscript, it works as expected). I added the config element to share-custom-config.xml and it works like a charm, thank you. Any idea why the configurations in the custom-slingshot XML aren't being picked up (or at least, updateDelay)?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- Terence&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;PS - I do have Share as a separate webapp, I was just being lazy and didn't want to keep restarting &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jul 2010 20:58:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/updatedelay-not-forcing-recompile-of-modified-ftls/m-p/233020#M186150</guid>
      <dc:creator>tarh33l</dc:creator>
      <dc:date>2010-07-28T20:58:16Z</dc:date>
    </item>
    <item>
      <title>Re: updateDelay not forcing recompile of modified FTLs</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/updatedelay-not-forcing-recompile-of-modified-ftls/m-p/233021#M186151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This development mode change to share-config-custom.xml doesn't seem to help me.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In Alfresco 3.4b, I seem to be having a problem getting little test changes to the templates (such as removing the toolbar region in documentlibrary.ftl) in &amp;lt;share webapp&amp;gt;/WEB-INF/classes/alfresco/templates/org/alfresco/templates to have any affect.&amp;nbsp; The changes don't seem to take affect for me even after I've restarted tomcat.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm guessing that I just don't understand some basic thing and I'm doing it wrong.&amp;nbsp; Anyone, If I've successfully pointed out my ignorance, let me know (nicely) and I'll be very grateful.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Nov 2010 17:55:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/updatedelay-not-forcing-recompile-of-modified-ftls/m-p/233021#M186151</guid>
      <dc:creator>gregbpopstar</dc:creator>
      <dc:date>2010-11-11T17:55:39Z</dc:date>
    </item>
    <item>
      <title>Re: updateDelay not forcing recompile of modified FTLs</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/updatedelay-not-forcing-recompile-of-modified-ftls/m-p/233022#M186152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;This development mode change to share-config-custom.xml doesn't seem to help me.&lt;BR /&gt;&lt;BR /&gt;In Alfresco 3.4b, I seem to be having a problem getting little test changes to the templates (such as removing the toolbar region in documentlibrary.ftl) in &amp;lt;share webapp&amp;gt;/WEB-INF/classes/alfresco/templates/org/alfresco/templates to have any affect.&amp;nbsp; The changes don't seem to take affect for me even after I've restarted tomcat.&lt;BR /&gt;&lt;BR /&gt;I'm guessing that I just don't understand some basic thing and I'm doing it wrong.&amp;nbsp; Anyone, If I've successfully pointed out my ignorance, let me know (nicely) and I'll be very grateful.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;The fact that it's not changing even after a restart means you're not changing what you think you are(!). Maybe post some code and we'll have a better time understanding what you're trying to achieve.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Edit&lt;/STRONG&gt;&lt;SPAN&gt;: I can see you've already got another &lt;/SPAN&gt;&lt;A href="http://forums.alfresco.com/en/viewtopic.php?f=47&amp;amp;t=35748" rel="nofollow noopener noreferrer"&gt;thread&lt;/A&gt;&lt;SPAN&gt; open about this issue, please post the code there instead.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Nov 2010 20:23:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/updatedelay-not-forcing-recompile-of-modified-ftls/m-p/233022#M186152</guid>
      <dc:creator>mikeh</dc:creator>
      <dc:date>2010-11-11T20:23:37Z</dc:date>
    </item>
  </channel>
</rss>

