<?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 2.2.0 webscripts in \extension\templates\webscript not found in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/2-2-0-webscripts-in-extension-templates-webscript-not-found/m-p/131213#M92191</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to develop an application in java which can add files to the repository. To this end I'm planning to extend the File Upload Sample webscript. Since this isn't available in Alfresco 2.1, I'm using 2.2.0dev.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem is that when using 2.2.0dev, the webscripts in /extension/templates/webscripts aren't loaded when I refresh the webscripts. When I put my webscript in /templates/webscripts it is loaded. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I know that I can easily continue developing by placing my webscript in the templates dir, but this isn't compliant to the standard. Is this a bug in 2.2.0dev?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Stijn&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Oct 2007 13:44:58 GMT</pubDate>
    <dc:creator>stijndereede</dc:creator>
    <dc:date>2007-10-30T13:44:58Z</dc:date>
    <item>
      <title>2.2.0 webscripts in \extension\templates\webscript not found</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/2-2-0-webscripts-in-extension-templates-webscript-not-found/m-p/131213#M92191</link>
      <description>Hi all,I'm trying to develop an application in java which can add files to the repository. To this end I'm planning to extend the File Upload Sample webscript. Since this isn't available in Alfresco 2.1, I'm using 2.2.0dev.The problem is that when using 2.2.0dev, the webscripts in /extension/templat</description>
      <pubDate>Tue, 30 Oct 2007 13:44:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/2-2-0-webscripts-in-extension-templates-webscript-not-found/m-p/131213#M92191</guid>
      <dc:creator>stijndereede</dc:creator>
      <dc:date>2007-10-30T13:44:58Z</dc:date>
    </item>
    <item>
      <title>Re: 2.2.0 webscripts in \extension\templates\webscript not found</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/2-2-0-webscripts-in-extension-templates-webscript-not-found/m-p/131214#M92192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you switch on log4j.logger.org.alfresco.web.scripts=DEBUG in log4j.properties, the Web Script framework will log where it's finding Web Script files.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, if you go to the Web Script index page /alfresco/service/ and locate your Web Script (or File Upload, if you're extending it), and click on its ID, it should dump the complete Web Script to the browser allowing you to see where all its implementation files have been picked up from.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, note, that the extensions/templates/webscripts folder must exist before starting the server.&amp;nbsp; If it's not there at startup, it doesn't ever bother to look there, until a restart.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Oct 2007 19:23:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/2-2-0-webscripts-in-extension-templates-webscript-not-found/m-p/131214#M92192</guid>
      <dc:creator>davidc</dc:creator>
      <dc:date>2007-10-30T19:23:58Z</dc:date>
    </item>
    <item>
      <title>Re: 2.2.0 webscripts in \extension\templates\webscript not found</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/2-2-0-webscripts-in-extension-templates-webscript-not-found/m-p/131215#M92193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ah, my bad, I made a mistake. I put the files in&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;\tomcat\webapps\alfresco\templates\webscripts&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;instead of in&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;\tomcat\webapps\alfresco\WEB-INF\classes\alfresco\extension\templates\webscripts&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This whole directory structure is sometimes a bit confusing.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Nov 2007 11:02:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/2-2-0-webscripts-in-extension-templates-webscript-not-found/m-p/131215#M92193</guid>
      <dc:creator>stijndereede</dc:creator>
      <dc:date>2007-11-05T11:02:16Z</dc:date>
    </item>
  </channel>
</rss>

