<?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: Reload imported JavaScript? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/reload-imported-javascript/m-p/209086#M162216</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I'm experiencing this too with an Alfresco 2.2E, storing my webscripts in the classpath (in the webapp, as we're deploying using an AMP, but editing the files directly on a test server allows to test changes quickly without repackaging/redeploying the AMP). In 2.2E, you're not even forced to refresh webscripts' JS files, as they aren't pre-compiled, contrary to 3.x (for performance reasons) and FTL files.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Hmm, this is the first I've heard about 3.x precompiling JS files. Do you have more information about this? It seemed to start happening with the 3.1 release, and not with 3.0 and 3.0.1 .&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 May 2009 16:28:15 GMT</pubDate>
    <dc:creator>lyamamot</dc:creator>
    <dc:date>2009-05-13T16:28:15Z</dc:date>
    <item>
      <title>Reload imported JavaScript?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/reload-imported-javascript/m-p/209083#M162213</link>
      <description>I have some web scripts that import a common JavaScript file. This works well, but if I make changes to the imported script, I have to restart Alfresco to get the changes to show up. Is there a way to avoid having to doing this?</description>
      <pubDate>Sat, 09 May 2009 07:53:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/reload-imported-javascript/m-p/209083#M162213</guid>
      <dc:creator>lyamamot</dc:creator>
      <dc:date>2009-05-09T07:53:11Z</dc:date>
    </item>
    <item>
      <title>Re: Reload imported JavaScript?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/reload-imported-javascript/m-p/209084#M162214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Where do you store this common Javascript file?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Usually it could be stored in Alfresco scripts directory.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2009 08:13:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/reload-imported-javascript/m-p/209084#M162214</guid>
      <dc:creator>openpj</dc:creator>
      <dc:date>2009-05-13T08:13:46Z</dc:date>
    </item>
    <item>
      <title>Re: Reload imported JavaScript?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/reload-imported-javascript/m-p/209085#M162215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Where do you store this common Javascript file?&lt;BR /&gt;Usually it could be stored in Alfresco scripts directory.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;and… ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When you're doing extensive WebScript'ing, you regularly end up with some "lib" scripts that are imported by several WebScripts (have a look at repo scripts in 3.x, there are a bunch of them).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The thing is, whatever you do (including refreshing the webscripts from the /index webscript), the changes to your "lib" script aren't taken into account until you restart Alfresco. This is a PITA.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm experiencing this too with an Alfresco 2.2E, storing my webscripts in the classpath (in the webapp, as we're deploying using an AMP, but editing the files directly on a test server allows to test changes quickly without repackaging/redeploying the AMP). In 2.2E, you're not even forced to refresh webscripts' JS files, as they aren't pre-compiled, contrary to 3.x (for performance reasons) and FTL files.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2009 08:43:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/reload-imported-javascript/m-p/209085#M162215</guid>
      <dc:creator>t_broyer</dc:creator>
      <dc:date>2009-05-13T08:43:49Z</dc:date>
    </item>
    <item>
      <title>Re: Reload imported JavaScript?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/reload-imported-javascript/m-p/209086#M162216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I'm experiencing this too with an Alfresco 2.2E, storing my webscripts in the classpath (in the webapp, as we're deploying using an AMP, but editing the files directly on a test server allows to test changes quickly without repackaging/redeploying the AMP). In 2.2E, you're not even forced to refresh webscripts' JS files, as they aren't pre-compiled, contrary to 3.x (for performance reasons) and FTL files.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Hmm, this is the first I've heard about 3.x precompiling JS files. Do you have more information about this? It seemed to start happening with the 3.1 release, and not with 3.0 and 3.0.1 .&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2009 16:28:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/reload-imported-javascript/m-p/209086#M162216</guid>
      <dc:creator>lyamamot</dc:creator>
      <dc:date>2009-05-13T16:28:15Z</dc:date>
    </item>
    <item>
      <title>Re: Reload imported JavaScript?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/reload-imported-javascript/m-p/209087#M162217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hmm, this is the first I've heard about 3.x precompiling JS files. Do you have more information about this? It seemed to start happening with the 3.1 release, and not with 3.0 and 3.0.1 .&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Right, 3.1 only. Revision 12940, merged into HEAD at rev 13530.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(though JS precompilation doesn't change anything re out current problem AFAICT)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 May 2009 07:44:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/reload-imported-javascript/m-p/209087#M162217</guid>
      <dc:creator>t_broyer</dc:creator>
      <dc:date>2009-05-14T07:44:41Z</dc:date>
    </item>
    <item>
      <title>Re: Reload imported JavaScript?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/reload-imported-javascript/m-p/209088#M162218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have the same issue, reloading of imported scripts is still not working in 3.3.x. Did you find a solution in the meantime?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jan 2011 10:53:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/reload-imported-javascript/m-p/209088#M162218</guid>
      <dc:creator>buddycasino</dc:creator>
      <dc:date>2011-01-10T10:53:33Z</dc:date>
    </item>
  </channel>
</rss>

