You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rave.apache.org by jc...@apache.org on 2011/12/23 18:01:14 UTC

svn commit: r800918 - in /websites/production/rave: ./ content/rave/ide-settings-and-debugging.html

Author: jcian
Date: Fri Dec 23 17:01:14 2011
New Revision: 800918

Log:
RAVE-387: Add Intelij deployment instructions (thanks to marijan milicevic for the patch)

Modified:
    websites/production/rave/   (props changed)
    websites/production/rave/content/rave/ide-settings-and-debugging.html

Propchange: websites/production/rave/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Fri Dec 23 17:01:14 2011
@@ -1 +1 @@
-/websites/staging/rave/trunk:787226-799166
+/websites/staging/rave/trunk:787226-800917

Modified: websites/production/rave/content/rave/ide-settings-and-debugging.html
==============================================================================
--- websites/production/rave/content/rave/ide-settings-and-debugging.html (original)
+++ websites/production/rave/content/rave/ide-settings-and-debugging.html Fri Dec 23 17:01:14 2011
@@ -157,6 +157,27 @@ and then (re)import the Rave project as 
 <li>Start the server</li>
 <li>Now see the instructions above for logging into the server</li>
 </ul>
+<h2 id="configuring_intellij">Configuring Intellij</h2>
+<ul>
+<li>Checkout Rave project</li>
+<li>File &gt; New project &gt; Import project from external model and select pom.xml</li>
+</ul>
+<h2 id="configure_remote_tomcat_and_intellij">Configure remote Tomcat and Intellij</h2>
+<ul>
+<li>Go to Project Structure  and select Artifacts</li>
+<li>Add new artifact of type "Other"</li>
+<li>Give above created artifact useful name e.g. "Portal" and point output directory to "CATALINA_HOME/webapps/portal"</li>
+<li>Check "Build on make checkbox" and add copy of Artifact "rave-portal:war exploded to "output root"</li>
+<li>Repeat above steps for Shindig artifact (use "rave-shindig:war exploded" artifact and use "CATALINA_HOME/webapps/ROOT" as output directory</li>
+<li>Repeat above steps for Gadgets artifact (use "rave-demo-gadgets:war exploded" artifact and use "CATALINA_HOME/webapps/gadgets" as output directory</li>
+</ul>
+<h2 id="debug_with_intellij_and_remote_tomcat">Debug with Intellij and remote tomcat</h2>
+<ul>
+<li>Install <a href="http://plugins.intellij.net/plugin/?idea&amp;id=6617">OpenJpa Enhancer integration plugin</a> Without this plugin you'll need to use maven for compiling. See also <a href="https://github.com/machak/enhancer/wiki">plugin documentation</a></li>
+<li>Configure Remote Tomcat debugging configuration at port 8000</li>
+</ul>
+<p>Note: to enable debugging session add following to catalina.sh file:
+ "CATALINA_OPTS="${CATALINA_OPTS} -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8000"</p>
   </div>
 
   <div id="footer">