<?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 Deploy overridden web.xml to packed alfresco.war in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/deploy-overridden-web-xml-to-packed-alfresco-war/m-p/190776#M143906</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 am customising my application by adding new Servlets for auditing and need to deploy my modified web.xml file to the alfresco.war. I was wondering, is there a better way to do this than:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1)build alfresco.war&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) start tomcat to unpack alfresco.war&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3) stop tomcat&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4) copy web.xml into webapps/alfresco/WEB-INF/&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;5) start tomcat&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;each and every time I need to deploy a code change.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This process is frustrating and time consuming in development.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried zipping up the unzipped tomcat directory, renaming as war and using that as the alfresco.war, but this doesn't work&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried creating a mapping in file-mapping.properties to copy the contents of a local WEB-INF directory, but that totally screwed things up.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;/config=/WEB-INF/classes&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;/lib=/WEB-INF/lib&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;/licenses=/WEB-INF/licenses&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;/jsp=/jsp&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;/css=/css&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;/images=/images&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;/scripts=/scripts&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;/WEB-INF=/WEB-INF&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How do people normally modify and deploy the web.xml file?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Many thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Matt&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Oct 2008 15:59:05 GMT</pubDate>
    <dc:creator>matt_thomas</dc:creator>
    <dc:date>2008-10-06T15:59:05Z</dc:date>
    <item>
      <title>Deploy overridden web.xml to packed alfresco.war</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/deploy-overridden-web-xml-to-packed-alfresco-war/m-p/190776#M143906</link>
      <description>HiI am customising my application by adding new Servlets for auditing and need to deploy my modified web.xml file to the alfresco.war. I was wondering, is there a better way to do this than:1)build alfresco.war2) start tomcat to unpack alfresco.war3) stop tomcat4) copy web.xml into webapps/alfresco/</description>
      <pubDate>Mon, 06 Oct 2008 15:59:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/deploy-overridden-web-xml-to-packed-alfresco-war/m-p/190776#M143906</guid>
      <dc:creator>matt_thomas</dc:creator>
      <dc:date>2008-10-06T15:59:05Z</dc:date>
    </item>
    <item>
      <title>Re: Deploy overridden web.xml to packed alfresco.war</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/deploy-overridden-web-xml-to-packed-alfresco-war/m-p/190777#M143907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;So if you have to do it, check the "package-amp" ant task in your build.xml to ensure that the web.xml is included in the amp file during the build process. The file-mapping.properties is used when the amp file is installed.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2008 16:38:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/deploy-overridden-web-xml-to-packed-alfresco-war/m-p/190777#M143907</guid>
      <dc:creator>zaizi</dc:creator>
      <dc:date>2008-10-06T16:38:29Z</dc:date>
    </item>
    <item>
      <title>Re: Deploy overridden web.xml to packed alfresco.war</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/deploy-overridden-web-xml-to-packed-alfresco-war/m-p/190778#M143908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks. That sorted it out!!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2008 17:04:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/deploy-overridden-web-xml-to-packed-alfresco-war/m-p/190778#M143908</guid>
      <dc:creator>matt_thomas</dc:creator>
      <dc:date>2008-10-06T17:04:32Z</dc:date>
    </item>
  </channel>
</rss>

