<?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: setting up SDK with Maven and Eclipse in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/setting-up-sdk-with-maven-and-eclipse/m-p/284944#M238074</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I ask myself and answer myself:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1) do not use Maven to start debugging.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) set up remote debugging on Tomсat (edit stl.sh )&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;blockcode&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#&amp;nbsp;&amp;nbsp;&amp;nbsp;$TOMCAT_BINDIR/startup.sh &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;$TOMCAT_BINDIR/catalina.sh jpda start&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/blockcode&amp;gt;&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3) set up Tomcat for use JRebel agent (edit ctl.sh)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;blockcode&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;export JAVA_OPTS="-XX:MaxPermSize=256m -Xms2048m -Xmx2048m -XX:+DisableExplicitGC -Djava.awt.headless=true -Dalfresco.home=/home/av/alfresco-4.2.1 -Dcom.sun.management.jmxremote -Dsun.security.ssl.allowUnsafeRenegotiation=true -XX:ReservedCodeCacheSize=128m -javaagent:/home/av/alfresco_workspace/jrebel.jar"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/blockcode&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4) set up Eclipse for debugging remote server&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Run-&amp;gt;Debug Configurations…-&amp;gt;Remote Java Applications&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;5) include in jrebel.xml in project classpath&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Jun 2014 10:58:19 GMT</pubDate>
    <dc:creator>avtor</dc:creator>
    <dc:date>2014-06-02T10:58:19Z</dc:date>
    <item>
      <title>setting up SDK with Maven and Eclipse</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/setting-up-sdk-with-maven-and-eclipse/m-p/284939#M238069</link>
      <description>Hi, following jeff's excellent tutorial i've a very well testing experience of the SDK on custom forms, workflow, etc…, but is it possible to integrate with my production tomcat instead of the embedded tomcat?&amp;nbsp; please share the detailed step if possible, thankyou.&amp;nbsp;</description>
      <pubDate>Tue, 08 Apr 2014 16:56:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/setting-up-sdk-with-maven-and-eclipse/m-p/284939#M238069</guid>
      <dc:creator>mythox</dc:creator>
      <dc:date>2014-04-08T16:56:09Z</dc:date>
    </item>
    <item>
      <title>Re: setting up SDK with Maven and Eclipse</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/setting-up-sdk-with-maven-and-eclipse/m-p/284940#M238070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Glad you liked the tutorial, thanks for reading.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you elaborate on what you want when you say integrate with your production server? For example, you can use alfresco:install to install an AMP into any Alfresco WAR, expanded or not. You don't have to do anything special to do that, just use the plugin. So, for example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;mvn alfresco:install -Dmaven.alfresco.warLocation=$TOMCAT_HOME/webapps/alfresco&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Another thing you might want to do is run unit tests against a remote tomcat server. This is possible when you use something like JRebel. Gab gave a talk on this at Alfresco Summit, see &lt;/SPAN&gt;&lt;A href="http://summit.alfresco.com/boston/sessions/enabling-test-driven-rapid-dev-continuous-delivery-alfresco-apps" rel="nofollow noopener noreferrer"&gt;http://summit.alfresco.com/boston/sessions/enabling-test-driven-rapid-dev-continuous-delivery-alfresco-apps&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So those are a couple of ideas. If you provide more specifics maybe someone else can weigh in on this as well.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Apr 2014 22:25:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/setting-up-sdk-with-maven-and-eclipse/m-p/284940#M238070</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2014-04-08T22:25:34Z</dc:date>
    </item>
    <item>
      <title>Re: setting up SDK with Maven and Eclipse</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/setting-up-sdk-with-maven-and-eclipse/m-p/284941#M238071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;thankyou for your time to reply, seems i missed the most important part - i did not install alfresco.war as i thought the SDK itself can generate everything.&amp;nbsp; I misunderstood, thankyou.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Apr 2014 02:06:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/setting-up-sdk-with-maven-and-eclipse/m-p/284941#M238071</guid>
      <dc:creator>mythox</dc:creator>
      <dc:date>2014-04-09T02:06:19Z</dc:date>
    </item>
    <item>
      <title>Re: setting up SDK with Maven and Eclipse</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/setting-up-sdk-with-maven-and-eclipse/m-p/284942#M238072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;When you run mvn install and you do not skip the tests it will download the WAR and run your unit tests by running Alfresco using the test configuration.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When you run mvn integration-test -Pamp-to-war it will download the WAR and install your AMP in it and then start up the server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you want to build your AMP and then run it in some other standalone Tomcat, then you can use the alfresco:install task. But the location you point it to will need to have the WAR already set up.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2014 16:19:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/setting-up-sdk-with-maven-and-eclipse/m-p/284942#M238072</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2014-04-10T16:19:42Z</dc:date>
    </item>
    <item>
      <title>Re: setting up SDK with Maven and Eclipse</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/setting-up-sdk-with-maven-and-eclipse/m-p/284943#M238073</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 want to return to this issue and to clarify whether there is an opportunity to do so:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;run maven integration-test WITHOUT download war (using my local Alfresco server) install my AMP in it and than start up my local Alfresco server (not embedded)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My goal: to be able to debug/JUnit test my AMP-module using an existing (locally) Alfresco server, because it contains another AMP modules (runtime dependency are needed) and contains data in the repository, which I want to use to test my module.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Eclipse Kepler with JRebel&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;for&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Alfresco Maven SDK project &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 May 2014 14:53:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/setting-up-sdk-with-maven-and-eclipse/m-p/284943#M238073</guid>
      <dc:creator>avtor</dc:creator>
      <dc:date>2014-05-29T14:53:16Z</dc:date>
    </item>
    <item>
      <title>Re: setting up SDK with Maven and Eclipse</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/setting-up-sdk-with-maven-and-eclipse/m-p/284944#M238074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I ask myself and answer myself:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1) do not use Maven to start debugging.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) set up remote debugging on Tomсat (edit stl.sh )&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;blockcode&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#&amp;nbsp;&amp;nbsp;&amp;nbsp;$TOMCAT_BINDIR/startup.sh &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;$TOMCAT_BINDIR/catalina.sh jpda start&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/blockcode&amp;gt;&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3) set up Tomcat for use JRebel agent (edit ctl.sh)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;blockcode&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;export JAVA_OPTS="-XX:MaxPermSize=256m -Xms2048m -Xmx2048m -XX:+DisableExplicitGC -Djava.awt.headless=true -Dalfresco.home=/home/av/alfresco-4.2.1 -Dcom.sun.management.jmxremote -Dsun.security.ssl.allowUnsafeRenegotiation=true -XX:ReservedCodeCacheSize=128m -javaagent:/home/av/alfresco_workspace/jrebel.jar"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/blockcode&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4) set up Eclipse for debugging remote server&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Run-&amp;gt;Debug Configurations…-&amp;gt;Remote Java Applications&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;5) include in jrebel.xml in project classpath&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jun 2014 10:58:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/setting-up-sdk-with-maven-and-eclipse/m-p/284944#M238074</guid>
      <dc:creator>avtor</dc:creator>
      <dc:date>2014-06-02T10:58:19Z</dc:date>
    </item>
  </channel>
</rss>

