<?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: Webscripts Development Environment in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/webscripts-development-environment/m-p/156480#M110724</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;SPAN&gt;I'm using eclipse + aptana (aptana.com) in my opsoro project. I'm deploying Web Scripts by using an custom Ant Build via CIFS Interface into data dictionary/Web Script Extension &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;folder in repo. For Freemarker files I'm using the freemarker IDE Feature/Plugins from JBosss/Red Hat IDE.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I think there is a great space for a community project implementing JavaScript and Freemarker code completion/editors for Alfresco JavaScript and Freemarker Templates.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Apr 2008 20:08:32 GMT</pubDate>
    <dc:creator>jpfi</dc:creator>
    <dc:date>2008-04-15T20:08:32Z</dc:date>
    <item>
      <title>Webscripts Development Environment</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/webscripts-development-environment/m-p/156477#M110721</link>
      <description>How does everyone develop their webscripts? Text editor, with javascript and freemarker syntax highlighting? Eclipse? Something else?How do you update your webscripts in situ?&amp;nbsp; Do you edit them in the webapps directory? How do you deal with version controlling?I'm struggling to get a good environmen</description>
      <pubDate>Tue, 15 Apr 2008 09:25:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/webscripts-development-environment/m-p/156477#M110721</guid>
      <dc:creator>dinger</dc:creator>
      <dc:date>2008-04-15T09:25:28Z</dc:date>
    </item>
    <item>
      <title>Re: Webscripts Development Environment</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/webscripts-development-environment/m-p/156478#M110722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Personally, I use TextMate on the Mac. There's no Freemarker syntax highlighting, but HTML is good enough. I used to use UltraEdit on the PC. The common "useful" feature between the two is being able to put together projects containing just the files of interest to the particular project (e.g. webscripts, client-side javascript, etc.) and not having to hunt around the local file system all the time.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When developing, we tend to use an exploded (i.e. no .war file) version of the webapp and update the webscripts using "ant incremental-tomcat-exploded"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We've got some in-house scripts to help this process (basically wrapping up the common ant targets using 2- or 3-letter shell scripts).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;All version control is done using SVN tools, e.g. SmartSVN which has a good built-in filediff tool when merges and updates aren't automatic.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does that help at all?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Apr 2008 15:38:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/webscripts-development-environment/m-p/156478#M110722</guid>
      <dc:creator>mikeh</dc:creator>
      <dc:date>2008-04-15T15:38:42Z</dc:date>
    </item>
    <item>
      <title>Re: Webscripts Development Environment</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/webscripts-development-environment/m-p/156479#M110723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I tend to use TextPad (it has syntax highlighting for both Javascript and Freemarker / HTML), but some of the other guys I work with use Eclipse with the JSEclipse plugin (from memory there's also an FTL plugin for Eclipse).&amp;nbsp; That said I've not developed any humungous web scripts - most of the ones I've written are only 100s of lines of code, so I haven't missed not having a specialised IDE.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm keen to hear what others are using - nothing better than being told about shiny new baubles to play with!&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Peter&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Apr 2008 15:57:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/webscripts-development-environment/m-p/156479#M110723</guid>
      <dc:creator>pmonks</dc:creator>
      <dc:date>2008-04-15T15:57:48Z</dc:date>
    </item>
    <item>
      <title>Re: Webscripts Development Environment</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/webscripts-development-environment/m-p/156480#M110724</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;SPAN&gt;I'm using eclipse + aptana (aptana.com) in my opsoro project. I'm deploying Web Scripts by using an custom Ant Build via CIFS Interface into data dictionary/Web Script Extension &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;folder in repo. For Freemarker files I'm using the freemarker IDE Feature/Plugins from JBosss/Red Hat IDE.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I think there is a great space for a community project implementing JavaScript and Freemarker code completion/editors for Alfresco JavaScript and Freemarker Templates.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Apr 2008 20:08:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/webscripts-development-environment/m-p/156480#M110724</guid>
      <dc:creator>jpfi</dc:creator>
      <dc:date>2008-04-15T20:08:32Z</dc:date>
    </item>
    <item>
      <title>Re: Webscripts Development Environment</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/webscripts-development-environment/m-p/156481#M110725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;@Mike&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for that. I'll look into that ant target. Does it work whilst Tomcat is running or does it require a restart?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;@Peter&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've been using the JBoss freemarker plugin but didn't have a very good process so just resorted to using notepad++. I think I'll try using eclipse with ant (using mike's advice) and have another go with the plugin.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;@jan&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried aptana before and have just downloaded it again. What specifically do you use it for? It's interesting that you use CIFS and put your scripts in data dictionary. I've been putting them directly into extension but might change that. How about an extension that could modify scripts in the repository itself (via webdav or REST etc)? I've not got much experience with eclipse development but perhaps this could also be a basis for a way for users to interact with Alfresco? Would it be possible to extend the JBOSS plugin to carry out code completion?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for all the info guys!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Rob&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2008 09:38:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/webscripts-development-environment/m-p/156481#M110725</guid>
      <dc:creator>dinger</dc:creator>
      <dc:date>2008-04-16T09:38:21Z</dc:date>
    </item>
    <item>
      <title>Re: Webscripts Development Environment</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/webscripts-development-environment/m-p/156482#M110726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, I defined an Eclipse project with a source config directory, where I dropped my webscripts (config/alfresco/extension/templates/webscripts/…). &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Since the config directory is in the project classpath, this lets me run Alfresco from Eclipse in debug mode (to debug custom Java code), and load webscripts directly from my Eclipse project.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;All webscripts are edited in Eclipse (using regular text editor) and are controlled by SVN. No modification in webapps dir.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Note that this requires Alfresco 2.1.1E or 2.1.2E (see related post &lt;/SPAN&gt;&lt;A href="http://forums.alfresco.com/viewtopic.php?f=10&amp;amp;t=9171" rel="nofollow noopener noreferrer"&gt;http://forums.alfresco.com/viewtopic.php?f=10&amp;amp;t=9171&lt;/A&gt;&lt;SPAN&gt;).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Denis&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2008 10:05:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/webscripts-development-environment/m-p/156482#M110726</guid>
      <dc:creator>dgenard</dc:creator>
      <dc:date>2008-04-16T10:05:29Z</dc:date>
    </item>
    <item>
      <title>Re: Webscripts Development Environment</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/webscripts-development-environment/m-p/156483#M110727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;On the theme of developing webscripts - how do developers deploy their web scripts? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As I understand it there are a few options available here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Via a templates/webscripts folder that is defined as a classpath folder&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. In a repository folder e.g. /Company Home/Data Dictionary/Web Scripts&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. Module deployment&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Module deployment seems like the most managable and decoupled approach. Just wondered what the general consensus is?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Apr 2008 09:06:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/webscripts-development-environment/m-p/156483#M110727</guid>
      <dc:creator>davidturner90</dc:creator>
      <dc:date>2008-04-21T09:06:12Z</dc:date>
    </item>
    <item>
      <title>Re: Webscripts Development Environment</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/webscripts-development-environment/m-p/156484#M110728</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;SPAN&gt;I think we have to differ deployments during development from productive deployments.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Deployments during develpment have to be fast and uncomplicated. Productive Deployments have to be comprehensible and bundled.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So during develpment i choose simple copy to data dictionary. For productive deployment I'd choose the same way or building an AMP Module if the WebScripts depends on any other stuff like content models etc.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Apr 2008 10:04:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/webscripts-development-environment/m-p/156484#M110728</guid>
      <dc:creator>jpfi</dc:creator>
      <dc:date>2008-04-21T10:04:12Z</dc:date>
    </item>
    <item>
      <title>Re: Webscripts Development Environment</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/webscripts-development-environment/m-p/156485#M110729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;@David: for development I copy the various Web Script files (descriptor, JS, FTL etc.) into my alfresco/extension folder and edit directly while the server is running - nothing like the productivity of edit / save / refresh browser / rinse &amp;amp; repeat!&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Once I have a "finished" version of a Web Script I tend to bundle it in an AMP file and distribute it that way - I've been using the maven4alfresco Maven plugin (available from &lt;/SPAN&gt;&lt;A href="http://forge.alfresco.com/projects/maven4alfresco/" rel="nofollow noopener noreferrer"&gt;http://forge.alfresco.com/projects/maven4alfresco/&lt;/A&gt;&lt;SPAN&gt;) to build AMPs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Peter&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Apr 2008 17:28:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/webscripts-development-environment/m-p/156485#M110729</guid>
      <dc:creator>pmonks</dc:creator>
      <dc:date>2008-04-21T17:28:12Z</dc:date>
    </item>
    <item>
      <title>Re: Webscripts Development Environment</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/webscripts-development-environment/m-p/156486#M110730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello Dinger&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Could you explain in a bit more detail how you have configured your eclipse, so that you can run your webscripts directly?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I would love to be able to do that!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 May 2008 12:34:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/webscripts-development-environment/m-p/156486#M110730</guid>
      <dc:creator>agatap</dc:creator>
      <dc:date>2008-05-15T12:34:33Z</dc:date>
    </item>
    <item>
      <title>Re: Webscripts Development Environment</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/webscripts-development-environment/m-p/156487#M110731</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 found this very interesting topic and would like to get some up-to-date info on this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;At this point I'm only testing and developing and I've been using mainly notepad++ so far. I would like to hear from others how they develop and deploy their webscripts.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kind regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mieke&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Oct 2009 09:56:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/webscripts-development-environment/m-p/156487#M110731</guid>
      <dc:creator>mmynsberghe</dc:creator>
      <dc:date>2009-10-15T09:56:24Z</dc:date>
    </item>
  </channel>
</rss>

