acoliver    2002/11/25 14:02:22

  Modified:    xdocs/site idedevelopers.xml
               docs/site idedevelopers.html
  Added:       xdocs/site idedev-rdnetbeans.xml
               docs/site idedev-rdnetbeans.html
  Log:
  new "love" guides for remote debugging with netbeans/forte
  
  Revision  Changes    Path
  1.7       +1 -0      jakarta-site/xdocs/site/idedevelopers.xml
  
  Index: idedevelopers.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-site/xdocs/site/idedevelopers.xml,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- idedevelopers.xml 25 Nov 2002 03:17:35 -0000      1.6
  +++ idedevelopers.xml 25 Nov 2002 22:02:22 -0000      1.7
  @@ -156,6 +156,7 @@
      <ul>
       <li><a href="idedev-rdtomcat.html">Setting up Tomcat for remote debugging</a> 
Start Here</li>
       <li><a href="idedev-rdeclipse.html">Setting up Eclipse for remote debugging</a> 
Continue here if using Eclipse</li>
  +    <li><a href="idedev-rdnetbeans.html">Setting up Netbeans/Forte for remote 
debugging</a> Continue here if using Netbeans or Forte</li>
      </ul>
     </section>
    </body>
  
  
  
  1.1                  jakarta-site/xdocs/site/idedev-rdnetbeans.xml
  
  Index: idedev-rdnetbeans.xml
  ===================================================================
  <?xml version="1.0"?>
  <document>
  
    <properties>
      <author email="[EMAIL PROTECTED]">Werner Punz</author>
      <author email="[EMAIL PROTECTED]">Andrew C. Oliver</author>
      <title>IDE Developer's Guide - Setting up Netbeans/Forte for Remote 
Debugging</title>
    </properties>
  
  <body>
  
    <section name="Setting up Netbeans/Forte for Remote Debugging">
     <p>
  So now you've got Tomcat remote debuggable right? Now you want to get
  your favorite IDE, Netbeans, ready for action right? So lets not waste time
  embelishing. Netbeans/Forte makes this really easy.
  </p>
  <p>
  We're going to assume you have a project set up with all of the fixings
  and have some idea of what you're doing in this respect. If not then
  thats really outside the scope of this topic and more in the scope of
  you needing to go to eclipse.org and read up on how to use your ide, and
  maybe practice a little bit before you come back to this. We're also
  going to assume you have some idea of what a debugger is and how to use
  one. If not, then play around debugging a project locally first by going
  here and following the instructions.
  </p>
  <p>
  Make sure tomcat is started and that your app is deployed and the
  sources, etc are all defined as resources in your app. If you have a
  servlet or something, set a breakpoint where its sure to hit on the next
  request. Go to Debug->Start Session->Attach. A dialog should pop up and
  use following options:
  </p>
  <p>
  Default Debugger:JPDA<br/>
  Socket Attach<br/>
  Host:the ip address of the host your Tomcat installation is running on
  (127.0.0.1 if it is your machine)<br/>
  Port:The port of your tomcat debugging interface, which should be 8000
  if you've followed the instructions correctly
  </p>
  <p>
  Then press ok and you should have a debugging connection very similar to
  local debugging. (you can set breakpoints
  inspect variables etc.)
  </p>
  <p>
  Netbeans/Forte however has a second option, you can debug JSP files and
  servlets locally. Nothing really exciting happens
  there, an integrated Tomcat server is started and a remote connection is
  opened. Note however that the integrated
  Netbeans Tomcat usually is a few versions behind the current
  Jakarta/Apache version.
     </p>
    </section>
   </body>
  </document>
  
  
  
  1.7       +1 -0      jakarta-site/docs/site/idedevelopers.html
  
  Index: idedevelopers.html
  ===================================================================
  RCS file: /home/cvs/jakarta-site/docs/site/idedevelopers.html,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- idedevelopers.html        25 Nov 2002 03:17:35 -0000      1.6
  +++ idedevelopers.html        25 Nov 2002 22:02:22 -0000      1.7
  @@ -343,6 +343,7 @@
                                                   <ul>
       <li><a href="idedev-rdtomcat.html">Setting up Tomcat for remote debugging</a> 
Start Here</li>
       <li><a href="idedev-rdeclipse.html">Setting up Eclipse for remote debugging</a> 
Continue here if using Eclipse</li>
  +    <li><a href="idedev-rdnetbeans.html">Setting up Netbeans/Forte for remote 
debugging</a> Continue here if using Netbeans or Forte</li>
      </ul>
                               </blockquote>
           </p>
  
  
  
  1.1                  jakarta-site/docs/site/idedev-rdnetbeans.html
  
  Index: idedev-rdnetbeans.html
  ===================================================================
  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
"http://www.w3.org/TR/html4/loose.dtd";>
  
  <!-- Content Stylesheet for Site -->
  
          
  <!-- start the processing -->
      <!-- ====================================================================== -->
      <!-- GENERATED FILE, DO NOT EDIT, EDIT THE XML FILE IN xdocs INSTEAD! -->
      <!-- Main Page Section -->
      <!-- ====================================================================== -->
      <html>
          <head>
              <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
  
                                                      <meta name="author" 
value="Werner Punz">
              <meta name="email" value="[EMAIL PROTECTED]">
                                          <meta name="author" value="Andrew C. Oliver">
              <meta name="email" value="[EMAIL PROTECTED]">
              
             
                                      
              <title>The Jakarta Site - IDE Developer's Guide - Setting up 
Netbeans/Forte for Remote Debugging</title>
          </head>
  
          <body bgcolor="#ffffff" text="#000000" link="#525D76">        
              <table border="0" width="100%" cellspacing="0">
                  <!-- TOP IMAGE -->
                  <tr>
                      <td colspan="2">
  <a href="http://jakarta.apache.org";><img 
src="http://jakarta.apache.org/images/jakarta-logo.gif"; align="left" border="0"/></a>
  </td>
                  </tr>
              </table>
              <table border="0" width="100%" cellspacing="4">
                  <tr><td colspan="2">
                      <hr noshade="" size="1"/>
                  </td></tr>
                  
                  <tr>
                      <!-- LEFT SIDE NAVIGATION -->
                      <td width="20%" valign="top" nowrap="true">
                                  <p><strong>About Jakarta</strong></p>
          <ul>
                      <li>    <a href="../index.html">Welcome</a>
  </li>
                      <li>    <a 
href="http://jakarta.apache.org/site/news/index.html";>News & Status</a>
  </li>
                      <li>    <a 
href="http://jakarta.apache.org/site/mission.html";>Our Mission</a>
  </li>
                      <li>    <a href="http://jakarta.apache.org/site/faqs.html";>Our 
FAQs</a>
  </li>
                      <li>    <a 
href="http://jakarta.apache.org/site/library.html";>Reference Library</a>
  </li>
                      <li>    <a 
href="http://www.google.com/advanced_search?q=+site:jakarta.apache.org&hl=en&as_qdr=all";>Search
 Jakarta</a>
  </li>
                      <li>    <a 
href="http://jakarta.apache.org/site/vendors.html";>Vendor Support</a>
  </li>
                      <li>    <a 
href="http://jakarta.apache.org/site/contact.html";>Contacting Us</a>
  </li>
                  </ul>
              <p><strong>Download</strong></p>
          <ul>
                      <li>    <a 
href="http://jakarta.apache.org/site/binindex.html";>Binaries</a>
  </li>
                      <li>    <a 
href="http://jakarta.apache.org/site/sourceindex.html";>Source Code</a>
  </li>
                  </ul>
              <p><strong>Get Involved</strong></p>
          <ul>
                      <li>    <a 
href="http://jakarta.apache.org/site/getinvolved.html";>How to ...</a>
  </li>
                      <li>    <a 
href="http://jakarta.apache.org/site/cvsindex.html";>CVS Repositories</a>
  </li>
                      <li>    <a 
href="http://jakarta.apache.org/site/mail.html";>Mailing Lists</a>
  </li>
                      <li>    <a href="http://jakarta.apache.org/site/bugs.html";>Bug 
Database</a>
  </li>
                  </ul>
              <p><strong>SubProjects</strong></p>
          <ul>
                      <li>    <a href="../alexandria/index.html">Alexandria</a>
  </li>
                      <li>    <a href="../ant/index.html">Ant</a>
  </li>
                      <li>    <a href="../avalon/index.html">Avalon</a>
  </li>
                      <li>    <a href="../bcel/index.html">BCEL</a>
  </li>
                      <li>    <a href="../bsf/index.html">BSF</a>
  </li>
                      <li>    <a href="../cactus/index.html">Cactus</a>
  </li>
                      <li>    <a href="../commons/index.html">Commons</a>
  </li>
                      <li>    <a href="../ecs/index.html">ECS</a>
  </li>
                      <li>    <a href="../james/index.html">James</a>
  </li>
                      <li>    <a href="../jetspeed/index.html">Jetspeed</a>
  </li>
                      <li>    <a href="../jmeter/index.html">JMeter</a>
  </li>
                      <li>    <a href="../log4j/index.html">Log4J</a>
  </li>
                      <li>    <a href="../lucene/index.html">Lucene</a>
  </li>
                      <li>    <a href="../ojb/index.html">OJB</a>
  </li>
                      <li>    <a href="../oro/index.html">ORO</a>
  </li>
                      <li>    <a href="../poi/index.html">POI</a>
  </li>
                      <li>    <a href="../regexp/index.html">Regexp</a>
  </li>
                      <li>    <a href="../slide/index.html">Slide</a>
  </li>
                      <li>    <a href="../struts/index.html">Struts</a>
  </li>
                      <li>    <a href="../taglibs/index.html">Taglibs</a>
  </li>
                      <li>    <a href="../tomcat/index.html">Tomcat</a>
  </li>
                      <li>    <a href="../turbine/index.html">Turbine</a>
  </li>
                      <li>    <a href="../velocity/index.html">Velocity</a>
  </li>
                      <li>    <a href="../watchdog/index.html">Watchdog</a>
  </li>
                  </ul>
              <p><strong>Project Management</strong></p>
          <ul>
                      <li>    <a 
href="http://jakarta.apache.org/site/whoweare.html";>Who We Are</a>
  </li>
                      <li>    <a 
href="http://jakarta.apache.org/site/guidelines.html";>Project Guidelines</a>
  </li>
                      <li>    <a 
href="http://jakarta.apache.org/site/newproject.html";>New Subprojects</a>
  </li>
                      <li>    <a 
href="http://jakarta.apache.org/site/jakarta-site2.html";>Website Maintenance</a>
  </li>
                      <li>    <a 
href="http://jakarta.apache.org/site/acknowledgements.html";>Acknowledgements</a>
  </li>
                      <li>    <a 
href="http://jakarta.apache.org/site/legal.html";>Legal</a>
  </li>
                      <li>    <a 
href="http://jakarta.apache.org/site/jspa-position.html";>Apache on the JSPA</a>
  </li>
                  </ul>
                          </td>
                      <td width="80%" align="left" valign="top">
                                                                      <table 
border="0" cellspacing="0" cellpadding="2" width="100%">
        <tr><td bgcolor="#525D76">
          <font color="#ffffff" face="arial,helvetica,sanserif">
            <a name="Setting up Netbeans/Forte for Remote Debugging"><strong>Setting 
up Netbeans/Forte for Remote Debugging</strong></a>
          </font>
        </td></tr>
        <tr><td>
          <blockquote>
                                      <p>
  So now you've got Tomcat remote debuggable right? Now you want to get
  your favorite IDE, Netbeans, ready for action right? So lets not waste time
  embelishing. Netbeans/Forte makes this really easy.
  </p>
                                                  <p>
  We're going to assume you have a project set up with all of the fixings
  and have some idea of what you're doing in this respect. If not then
  thats really outside the scope of this topic and more in the scope of
  you needing to go to eclipse.org and read up on how to use your ide, and
  maybe practice a little bit before you come back to this. We're also
  going to assume you have some idea of what a debugger is and how to use
  one. If not, then play around debugging a project locally first by going
  here and following the instructions.
  </p>
                                                  <p>
  Make sure tomcat is started and that your app is deployed and the
  sources, etc are all defined as resources in your app. If you have a
  servlet or something, set a breakpoint where its sure to hit on the next
  request. Go to Debug-&gt;Start Session-&gt;Attach. A dialog should pop up and
  use following options:
  </p>
                                                  <p>
  Default Debugger:JPDA<br />
  Socket Attach<br />
  Host:the ip address of the host your Tomcat installation is running on
  (127.0.0.1 if it is your machine)<br />
  Port:The port of your tomcat debugging interface, which should be 8000
  if you've followed the instructions correctly
  </p>
                                                  <p>
  Then press ok and you should have a debugging connection very similar to
  local debugging. (you can set breakpoints
  inspect variables etc.)
  </p>
                                                  <p>
  Netbeans/Forte however has a second option, you can debug JSP files and
  servlets locally. Nothing really exciting happens
  there, an integrated Tomcat server is started and a remote connection is
  opened. Note however that the integrated
  Netbeans Tomcat usually is a few versions behind the current
  Jakarta/Apache version.
     </p>
                              </blockquote>
          </p>
        </td></tr>
        <tr><td><br/></td></tr>
      </table>
                                          </td>
                  </tr>
  
                  <!-- FOOTER -->
                  <tr><td colspan="2">
                      <hr noshade="" size="1"/>
                  </td></tr>
                  <tr><td colspan="2">
                      <div align="center"><font color="#525D76" size="-1"><em>
                      Copyright &#169; 1999-2002, Apache Software Foundation
                      </em></font></div>
                  </td></tr>
              </table>
          </body>
      </html>
  <!-- end the processing -->
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to