<?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: How to use old generated amp in new eclipse project in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-use-old-generated-amp-in-new-eclipse-project/m-p/291702#M244832</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi deeps, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The AMP is Alfresco's packaging mechanism for a single extension - generally as far as I know they don't support nesting of other AMPs within them, and I've never seen any tools that could could convert one to a useable jar.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, it's probably worth asking what your overall end goal is here? I'm assuming you want to have a project that when you build it out pops a fully useable Alfresco war (complete with all the extensions you want built in).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There are a couple of ways you could achieve this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;ol&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;li&amp;gt;Use multiple Eclipse projects. 1 for any of your customisations that will itself create an amp and another that applies all the amps (included as maven dependencies) you want to the alfresco war and gives you a ready-to-run war file as the output.&amp;nbsp; This is the standard maven-style approach and is supported by the Alresco SDK with the alfresco-amp-archetype and alfresco-allinone-archetype archetypes. (&lt;/SPAN&gt;&lt;A href="http://docs.alfresco.com/5.0/concepts/alfresco-sdk-advanced-add-custom-amps.html" rel="nofollow noopener noreferrer"&gt;http://docs.alfresco.com/5.0/concepts/alfresco-sdk-advanced-add-custom-amps.html&lt;/A&gt;&lt;SPAN&gt;)&amp;lt;/li&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;li&amp;gt;Another option if you want to only deal with a single project, will be to bundle the source code from the external amps into your extension so that everything gets built as a single amp.&amp;nbsp; Just be sure to check license requirements (and maybe touch base with the owners) of any code you don't own to make sure that this use case is acceptable.&amp;nbsp; I wouldn't recommend this option as it will be a lot of hassle both up front and if you want to keep the other extensions up to date.&amp;lt;/li&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;li&amp;gt;Lastly, you could create your own alfresco war that is preinstalled with the extra amps you want to use, and then use this as your Alfresco dependency.&amp;nbsp; So as a one off step you apply all the 3rd party amps you want to use and then take the resultant alfresco/share war files and store those as artefacts in your maven repo.&amp;nbsp; You can then use them as deependencies for your own project.&amp;nbsp; This approach might take some fiddling with to get working if you're using the Alfresco SDK and will have to be redone any time you upgrade Alfresco&amp;lt;/li&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/ol&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Really in my opinion, the 1st option, is the most standard and least problematic and just requires you to create more than project in eclipse.&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;Steven&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 May 2016 09:34:41 GMT</pubDate>
    <dc:creator>steven_okennedy</dc:creator>
    <dc:date>2016-05-13T09:34:41Z</dc:date>
    <item>
      <title>How to use old generated amp in new eclipse project</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-use-old-generated-amp-in-new-eclipse-project/m-p/291697#M244827</link>
      <description>Hi guys,I have created one project in eclipse. but i want to use one uploader-plus AMP file in my newly created eclipse project.so how can i achieve this.or is there any way to convert that uploader-plus amp file in to jar file.or if u know any other way, then please suggest me.my main requirement i</description>
      <pubDate>Mon, 28 Mar 2016 06:13:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-use-old-generated-amp-in-new-eclipse-project/m-p/291697#M244827</guid>
      <dc:creator>deeps</dc:creator>
      <dc:date>2016-03-28T06:13:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to use old generated amp in new eclipse project</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-use-old-generated-amp-in-new-eclipse-project/m-p/291698#M244828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Deepak,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can apply the uploader-plus amps in your alfresco installation. Copy the repo-amp in {alfresco_installation_path}/amps folder and share-amp in your {alfresco_installation_path}/amps_share folder, then use the apply_amps.sh(Please see the docs for how to use it) under your {alfresco_installation_path}/bin folder; restart your alfresco. You will be able to see uploader-plus option in Admin Console.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For alfresco installation you can download the community version and install in your local.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hiten Rastogi&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;EisenVault&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 02 Apr 2016 05:15:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-use-old-generated-amp-in-new-eclipse-project/m-p/291698#M244828</guid>
      <dc:creator>hiten_rastogi1</dc:creator>
      <dc:date>2016-04-02T05:15:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to use old generated amp in new eclipse project</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-use-old-generated-amp-in-new-eclipse-project/m-p/291699#M244829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi hitten,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;actually its working in that way.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;but i wanted do it through eclipse.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;i have created all in one project in eclipse.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and i wanted to use that amp in my eclipse project, so can you give me some suggestions to do this??&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 02 Apr 2016 06:48:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-use-old-generated-amp-in-new-eclipse-project/m-p/291699#M244829</guid>
      <dc:creator>deeps</dc:creator>
      <dc:date>2016-04-02T06:48:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to use old generated amp in new eclipse project</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-use-old-generated-amp-in-new-eclipse-project/m-p/291700#M244830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Deepak,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;have you got success in converting amp to jar file ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I need to do the same for uploader-plus plugin.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;sumit&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 May 2016 23:22:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-use-old-generated-amp-in-new-eclipse-project/m-p/291700#M244830</guid>
      <dc:creator>purohitsumit</dc:creator>
      <dc:date>2016-05-12T23:22:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to use old generated amp in new eclipse project</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-use-old-generated-amp-in-new-eclipse-project/m-p/291701#M244831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Sumit,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Actually its not working in eclipse, and also we are not able to convert amp to jar.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So I directly put apm's in alfresco installation directory. And over there i am using that functionality.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 May 2016 07:18:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-use-old-generated-amp-in-new-eclipse-project/m-p/291701#M244831</guid>
      <dc:creator>deeps</dc:creator>
      <dc:date>2016-05-13T07:18:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to use old generated amp in new eclipse project</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-use-old-generated-amp-in-new-eclipse-project/m-p/291702#M244832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi deeps, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The AMP is Alfresco's packaging mechanism for a single extension - generally as far as I know they don't support nesting of other AMPs within them, and I've never seen any tools that could could convert one to a useable jar.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, it's probably worth asking what your overall end goal is here? I'm assuming you want to have a project that when you build it out pops a fully useable Alfresco war (complete with all the extensions you want built in).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There are a couple of ways you could achieve this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;ol&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;li&amp;gt;Use multiple Eclipse projects. 1 for any of your customisations that will itself create an amp and another that applies all the amps (included as maven dependencies) you want to the alfresco war and gives you a ready-to-run war file as the output.&amp;nbsp; This is the standard maven-style approach and is supported by the Alresco SDK with the alfresco-amp-archetype and alfresco-allinone-archetype archetypes. (&lt;/SPAN&gt;&lt;A href="http://docs.alfresco.com/5.0/concepts/alfresco-sdk-advanced-add-custom-amps.html" rel="nofollow noopener noreferrer"&gt;http://docs.alfresco.com/5.0/concepts/alfresco-sdk-advanced-add-custom-amps.html&lt;/A&gt;&lt;SPAN&gt;)&amp;lt;/li&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;li&amp;gt;Another option if you want to only deal with a single project, will be to bundle the source code from the external amps into your extension so that everything gets built as a single amp.&amp;nbsp; Just be sure to check license requirements (and maybe touch base with the owners) of any code you don't own to make sure that this use case is acceptable.&amp;nbsp; I wouldn't recommend this option as it will be a lot of hassle both up front and if you want to keep the other extensions up to date.&amp;lt;/li&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;li&amp;gt;Lastly, you could create your own alfresco war that is preinstalled with the extra amps you want to use, and then use this as your Alfresco dependency.&amp;nbsp; So as a one off step you apply all the 3rd party amps you want to use and then take the resultant alfresco/share war files and store those as artefacts in your maven repo.&amp;nbsp; You can then use them as deependencies for your own project.&amp;nbsp; This approach might take some fiddling with to get working if you're using the Alfresco SDK and will have to be redone any time you upgrade Alfresco&amp;lt;/li&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/ol&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Really in my opinion, the 1st option, is the most standard and least problematic and just requires you to create more than project in eclipse.&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;Steven&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 May 2016 09:34:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-use-old-generated-amp-in-new-eclipse-project/m-p/291702#M244832</guid>
      <dc:creator>steven_okennedy</dc:creator>
      <dc:date>2016-05-13T09:34:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to use old generated amp in new eclipse project</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-use-old-generated-amp-in-new-eclipse-project/m-p/291703#M244833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you Steven.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ts really helpful information.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 May 2016 10:05:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-use-old-generated-amp-in-new-eclipse-project/m-p/291703#M244833</guid>
      <dc:creator>deeps</dc:creator>
      <dc:date>2016-05-13T10:05:59Z</dc:date>
    </item>
  </channel>
</rss>

