<?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 AMP Development Environment in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/amp-development-environment/m-p/94303#M64588</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am developing an AMP in Eclips deploying to tomcat.&amp;nbsp; deployment/testing has proven to be quite the process.&amp;nbsp; I am looking for a better way to setup my environment.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Right now, I make code changes and run an ant script.&amp;nbsp; The ant script does the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. shutsdown my tomcat server&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. builds my java code&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. integrates everything into the WAR (using your AMP deploy tool)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4. deletes the alfresco directory in webapps&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;5. copies the war over to the webapps directory (overwriting the old)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;6. copies the "shared extension" files over&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;7. restarts tomcat&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This process takes several minutes to complete…. Needless to say, it doesn't help my productivity and I have to work kinda old school of making as many changes as possible and then deploy and test each one, working many threads of issues at a time….&amp;nbsp; :shock: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It would be AWESOME if it could be integrated into Eclipse.&amp;nbsp; The problems I ran into (trying to let eclipse do integrated deploys) is…well…it didn't work &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;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The reason I delete the webapps/alfresco directory is that the AMP integration puts a later version of the jar in the war (with the new code).&amp;nbsp; When tomcat starts, it does not deploy the "new" jar into the webapps/alfresco deploment directory.&amp;nbsp; It doesn't recognise it changed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for you help…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Jul 2007 22:35:39 GMT</pubDate>
    <dc:creator>nyronian</dc:creator>
    <dc:date>2007-07-13T22:35:39Z</dc:date>
    <item>
      <title>AMP Development Environment</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/amp-development-environment/m-p/94303#M64588</link>
      <description>I am developing an AMP in Eclips deploying to tomcat.&amp;nbsp; deployment/testing has proven to be quite the process.&amp;nbsp; I am looking for a better way to setup my environment.Right now, I make code changes and run an ant script.&amp;nbsp; The ant script does the following:1. shutsdown my tomcat server2. builds my java</description>
      <pubDate>Fri, 13 Jul 2007 22:35:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/amp-development-environment/m-p/94303#M64588</guid>
      <dc:creator>nyronian</dc:creator>
      <dc:date>2007-07-13T22:35:39Z</dc:date>
    </item>
    <item>
      <title>Re: AMP Development Environment</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/amp-development-environment/m-p/94304#M64589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;For testing purposes you could deploy to Tomcat using an 'exploded' approach. This basically means you don't need the WAR file which will save you time packaging it all up.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Follow these steps:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Stop Tomcat&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Delete the war file from the webapps folder and delete the webapps/alfresco folder&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. Re-create the alfresco folder under webapps and extract the WAR file (without your AMP) into it&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4. Change your build script to copy all the AMP files directly to the webapps/alfresco folder&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;5. Start Tomcat&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This should save you a fair bit of time. Also using this approach it may be possible to get Eclipse to help but I'm not sure as I've never tried integrating Eclipse into the process.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jul 2007 07:45:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/amp-development-environment/m-p/94304#M64589</guid>
      <dc:creator>gavinc</dc:creator>
      <dc:date>2007-07-17T07:45:14Z</dc:date>
    </item>
  </channel>
</rss>

