<?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 structure and spring configuration file location in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/amp-structure-and-spring-configuration-file-location/m-p/86654#M26179</link>
    <description>&lt;P&gt;Hi ,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have generated Maven project in eclipse for repo artifacts using 'alfresco-amp-archetype' archetype.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have Springbean XML file , this needs to be copied to following location&lt;/P&gt;&lt;P&gt;'tomcat\shared\classes\alfresco\extension'&lt;/P&gt;&lt;P&gt;In my&amp;nbsp; amp structure , which folder i should be creating this&amp;nbsp; file (Spring bean file) .&amp;nbsp; What&amp;nbsp; are other configuration i need to be implemented in amp structure before packaging amp and deploying it alfresco.war file ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also have java file source , i have created this uder -&amp;nbsp;src/main/java location with required package structure.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks a lot&amp;nbsp;&lt;/P&gt;&lt;P&gt;Brijesh&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 20 Feb 2020 13:59:24 GMT</pubDate>
    <dc:creator>brijeshnk</dc:creator>
    <dc:date>2020-02-20T13:59:24Z</dc:date>
    <item>
      <title>AMP structure and spring configuration file location</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/amp-structure-and-spring-configuration-file-location/m-p/86654#M26179</link>
      <description>&lt;P&gt;Hi ,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have generated Maven project in eclipse for repo artifacts using 'alfresco-amp-archetype' archetype.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have Springbean XML file , this needs to be copied to following location&lt;/P&gt;&lt;P&gt;'tomcat\shared\classes\alfresco\extension'&lt;/P&gt;&lt;P&gt;In my&amp;nbsp; amp structure , which folder i should be creating this&amp;nbsp; file (Spring bean file) .&amp;nbsp; What&amp;nbsp; are other configuration i need to be implemented in amp structure before packaging amp and deploying it alfresco.war file ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also have java file source , i have created this uder -&amp;nbsp;src/main/java location with required package structure.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks a lot&amp;nbsp;&lt;/P&gt;&lt;P&gt;Brijesh&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Feb 2020 13:59:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/amp-structure-and-spring-configuration-file-location/m-p/86654#M26179</guid>
      <dc:creator>brijeshnk</dc:creator>
      <dc:date>2020-02-20T13:59:24Z</dc:date>
    </item>
    <item>
      <title>Re: AMP structure and spring configuration file location</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/amp-structure-and-spring-configuration-file-location/m-p/86655#M26180</link>
      <description>&lt;P&gt;As you are building your extension using amp, you would apply the amp to the alfresco.war. You don't have to worry about the "&lt;SPAN&gt;tomcat\shared\classes\alfresco\extension&lt;/SPAN&gt;" path at all.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can keep your context file in &lt;STRONG&gt;&amp;lt;yourModuleProject&amp;gt;\src\main\amp\config\alfresco\module\&amp;lt;yourModule&amp;gt;\context &lt;/STRONG&gt;folder, making sure that "&lt;STRONG&gt;&amp;lt;yourModuleProject&amp;gt;&lt;/STRONG&gt;\src\main\amp\config\alfresco\module\&lt;STRONG&gt;&amp;lt;yourModule&amp;gt;&lt;/STRONG&gt;\&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;module-context.xml&lt;/STRONG&gt;&lt;/FONT&gt;" includes all the context files created under&amp;nbsp;&lt;STRONG&gt;&amp;lt;yourModuleProject&amp;gt;\src\main\amp\config\alfresco\module\&amp;lt;yourModule&amp;gt;\context &lt;/STRONG&gt;folder.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;OR- You can keep&amp;nbsp; your context file in Folder:&lt;/STRONG&gt;&lt;/P&gt;
&lt;PRE&gt;&amp;lt;yourModuleProject&amp;gt;\src\main\amp\config\alfresco\extension&lt;/PRE&gt;
&lt;P&gt;--------------------------------------------------------------------------------&lt;/P&gt;
&lt;P&gt;Is there a reason why you choose to go with amp based approach ? How about switching to jar based archetype?&lt;/P&gt;
&lt;P&gt;From ACS6.x onwards current amps which are generated using SDK2.x "may or may not" work as is. For ACS6.x, SDK4.x is recommended.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Feb 2020 15:52:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/amp-structure-and-spring-configuration-file-location/m-p/86655#M26180</guid>
      <dc:creator>abhinavmishra14</dc:creator>
      <dc:date>2020-02-20T15:52:36Z</dc:date>
    </item>
    <item>
      <title>Re: AMP structure and spring configuration file location</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/amp-structure-and-spring-configuration-file-location/m-p/86656#M26181</link>
      <description>&lt;P&gt;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/74498"&gt;@abhinavmishra14&lt;/A&gt;&amp;nbsp; thanks for pointing out the SDK version .&amp;nbsp; We do have migration plan coming from 5,2 to 6.x . Hope we will have some migration tool to convert current amps to jar .&lt;/P&gt;</description>
      <pubDate>Tue, 03 Mar 2020 11:24:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/amp-structure-and-spring-configuration-file-location/m-p/86656#M26181</guid>
      <dc:creator>brijeshnk</dc:creator>
      <dc:date>2020-03-03T11:24:51Z</dc:date>
    </item>
  </channel>
</rss>

