incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject svn commit: r847470 - in /websites/staging/sling/trunk/content: ./ documentation/development/getting-and-building-sling.html
Date Mon, 21 Jan 2013 16:12:23 GMT
Author: buildbot
Date: Mon Jan 21 16:12:23 2013
New Revision: 847470

Staging update by buildbot for sling

    websites/staging/sling/trunk/content/   (props changed)

Propchange: websites/staging/sling/trunk/content/
--- cms:source-revision (original)
+++ cms:source-revision Mon Jan 21 16:12:23 2013
@@ -1 +1 @@

Modified: websites/staging/sling/trunk/content/documentation/development/getting-and-building-sling.html
--- websites/staging/sling/trunk/content/documentation/development/getting-and-building-sling.html
+++ websites/staging/sling/trunk/content/documentation/development/getting-and-building-sling.html
Mon Jan 21 16:12:23 2013
@@ -234,14 +234,15 @@ When starting Sling inside the `launchpa
 <p>Congratulations ! You should now have a running Sling instance, that you can start
playing around with.</p>
 <h2 id="further-tips-and-tricks">Further Tips and Tricks</h2>
 <h3 id="debug-sling-in-eclipse">Debug Sling in Eclipse</h3>
-<p>You can use remote debugging to debug Sling in Eclipse, here's a little How-To
-1. start Sling from the command line with</p>
-<div class="codehilite"><pre><span class="n">java</span> <span
class="o">-</span><span class="n">Xmx384M</span> <span class="o">-</span><span
class="n">agentlib:jdwp</span><span class="o">=</span><span class="n">transport</span><span
class="o">=</span><span class="n">dt_socket</span><span class="p">,</span><span
class="n">address</span><span class="o">=</span><span class="mi">30303</span><span
class="p">,</span><span class="n">server</span><span class="o">=</span><span
class="n">y</span><span class="p">,</span><span class="n">suspend</span><span
class="o">=</span><span class="n">n</span> <span class="o">-</span><span
class="n">jar</span> <span class="n">org</span><span class="o">.</span><span
class="n">apache</span><span class="o">.</span><span class="n">sling</span><span
class="o">.</span><span class="n">launchpad</span><span class="o">.</span><span
class="n">app</span><span class="o">-</span><span class="mi">6</span><span
class="o">-</span><span class="n">SNAPSHOT</span><s
 pan class="o">.</span><span class="n">jar</span>
+<p>You can use remote debugging to debug Sling in Eclipse, here's a little How-To</p>
-<li>Open Menu Run-&gt; Debug configurations</li>
+<p>start Sling from the command line with</p>
+<p>java -Xmx384M -agentlib:jdwp=transport=dt_socket,address=30303,server=y,suspend=n
+<p>Open Menu Run-&gt; Debug configurations</p>
 <li>Right-click on "Remote Java Applications"</li>
 <li>Choose "New"</li>
 <li>In the "Connect" tab choose the Eclipse Sling Project for the field "Project" with
the browse button</li>
@@ -274,7 +275,7 @@ For more information on this see the <a 
 <p>If adding dependencies to the poms, run mvn eclipse:eclipse again and refresh the
project in Eclipse. Debugging works as described above.</p>
       <div class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
-        Rev. 1436439 by ieb on Mon, 21 Jan 2013 16:06:06 +0000
+        Rev. 1436447 by ieb on Mon, 21 Jan 2013 16:12:18 +0000
       <div class="trademarkFooter"> 
         Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project

View raw message