<?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: Must I restart Tomcat every CSS edit? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/must-i-restart-tomcat-every-css-edit/m-p/305976#M259106</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have not done this with alfresco (because I don't do CSS), but from working with tomcat generally, there's a cache you can clear.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;if alfresco is in /opt/alfresco-4.2.c and in linux (find corresponding directory in windows, I can't advise where that might be since I don't use windows)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;cd /opt/alfresco-4.2.c/tomcat/work&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;sudo rm -rf Catalina # or, optionally, drill down to Catalina/localhost and remove just alfresco and share.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;compiled JSPs go in there. so removing them (selectively or all of work/Catalina) will have the JSPs be recompiled.&amp;nbsp; I'm not sure that this will work for CSS files, but worth a try.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Gerald&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 May 2013 21:23:37 GMT</pubDate>
    <dc:creator>bopolissimus</dc:creator>
    <dc:date>2013-05-06T21:23:37Z</dc:date>
    <item>
      <title>Must I restart Tomcat every CSS edit?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/must-i-restart-tomcat-every-css-edit/m-p/305975#M259105</link>
      <description>Hi all,I'm fairly new to Alfresco and am in the process of HEAVILY modifying my own custom template model. While we haven't maunched the service in our office yet, I'm doing some funky stuff with a darker theme for my tech unit.Can you tell me, why is it necessary for me to restart Tomcat EVERY time</description>
      <pubDate>Mon, 06 May 2013 15:46:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/must-i-restart-tomcat-every-css-edit/m-p/305975#M259105</guid>
      <dc:creator>power-alf</dc:creator>
      <dc:date>2013-05-06T15:46:04Z</dc:date>
    </item>
    <item>
      <title>Re: Must I restart Tomcat every CSS edit?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/must-i-restart-tomcat-every-css-edit/m-p/305976#M259106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have not done this with alfresco (because I don't do CSS), but from working with tomcat generally, there's a cache you can clear.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;if alfresco is in /opt/alfresco-4.2.c and in linux (find corresponding directory in windows, I can't advise where that might be since I don't use windows)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;cd /opt/alfresco-4.2.c/tomcat/work&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;sudo rm -rf Catalina # or, optionally, drill down to Catalina/localhost and remove just alfresco and share.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;compiled JSPs go in there. so removing them (selectively or all of work/Catalina) will have the JSPs be recompiled.&amp;nbsp; I'm not sure that this will work for CSS files, but worth a try.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Gerald&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 May 2013 21:23:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/must-i-restart-tomcat-every-css-edit/m-p/305976#M259106</guid>
      <dc:creator>bopolissimus</dc:creator>
      <dc:date>2013-05-06T21:23:37Z</dc:date>
    </item>
    <item>
      <title>Re: Must I restart Tomcat every CSS edit?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/must-i-restart-tomcat-every-css-edit/m-p/305977#M259107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the suggestion bopolissimus, but unfortunately we are running Windows. I drilled into &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;"C:\Alfresco\tomcat\work\Catalina\localhost"&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt; and tried renaming "share" and "alfresco", but they did not re-create and did not help unfortunately. Not sure what else to try…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 May 2013 11:31:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/must-i-restart-tomcat-every-css-edit/m-p/305977#M259107</guid>
      <dc:creator>power-alf</dc:creator>
      <dc:date>2013-05-07T11:31:00Z</dc:date>
    </item>
    <item>
      <title>Re: Must I restart Tomcat every CSS edit?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/must-i-restart-tomcat-every-css-edit/m-p/305978#M259108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;For new CSS the answer with clearing dependency caches works for me: &lt;/SPAN&gt;&lt;A href="https://forums.alfresco.com/forum/developer-discussions/alfresco-share-development/how-refresh-css-without-restarting-tomcat" rel="nofollow noopener noreferrer"&gt;https://forums.alfresco.com/forum/developer-discussions/alfresco-share-development/how-refresh-css-without-restarting-tomcat&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;Besides that, I've followed the advise in this post for developing:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://deepak-keswani.blogspot.nl/2011/10/spring-surf-runtime-settings.html" rel="nofollow noopener noreferrer"&gt;http://deepak-keswani.blogspot.nl/2011/10/spring-surf-runtime-settings.html&lt;/A&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jun 2013 08:50:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/must-i-restart-tomcat-every-css-edit/m-p/305978#M259108</guid>
      <dc:creator>meertens</dc:creator>
      <dc:date>2013-06-27T08:50:33Z</dc:date>
    </item>
  </channel>
</rss>

