rave-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r800917 - /websites/staging/rave/trunk/content/rave/ide-settings-and-debugging.html
Date Fri, 23 Dec 2011 17:00:13 GMT
Author: buildbot
Date: Fri Dec 23 17:00:13 2011
New Revision: 800917

Log:
Staging update by buildbot

Modified:
    websites/staging/rave/trunk/content/rave/ide-settings-and-debugging.html

Modified: websites/staging/rave/trunk/content/rave/ide-settings-and-debugging.html
==============================================================================
--- websites/staging/rave/trunk/content/rave/ide-settings-and-debugging.html (original)
+++ websites/staging/rave/trunk/content/rave/ide-settings-and-debugging.html Fri Dec 23 17:00:13
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">



Mime
View raw message