jakarta-site-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acoli...@apache.org
Subject cvs commit: jakarta-site/docs/site idedev-rdeclipse.html
Date Sun, 24 Nov 2002 20:38:55 GMT
acoliver    2002/11/24 12:38:54

  Added:       xdocs/site idedev-rdeclipse.xml
               docs/site idedev-rdeclipse.html
  Log:
  instructions for making eclipse remote debug
  
  Revision  Changes    Path
  1.1                  jakarta-site/xdocs/site/idedev-rdeclipse.xml
  
  Index: idedev-rdeclipse.xml
  ===================================================================
  <?xml version="1.0"?>
  <document>
  
    <properties>
      <author email="acoliver@apache.org">Andrew C. Oliver</author>
      <title>IDE Developer's Guide - Setting up Eclipse for Remote Debugging</title>
    </properties>
  
  <body>
  
    <section name="Setting up Eclipse for Remote Debugging">
     <p>
      So now you've got Tomcat remote debuggable right?  Now you want to get
      your favorite IDE <a href="http://www.eclipse.org">Eclipse</a> ready
      for action right?  So lets not waste time embelishing.  Eclipse 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 <a href="http://www.eclipse.org">eclipse.org</a> 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 <a href="http://download.eclipse.org/downloads/documentation/2.0/html/plugins/org.eclipse.jdt.doc.user/concepts/concepts-10.htm">here</a>
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 Run->Debug.  Click on "Remote Java Applications", then click New.
      Type in the title and all.  Notice that port 8000 from the Tomcat 
      instructions.  Save and run.  Eclipse will connect to the VM that Tomcat 
      is running under.  Wow, that was easy!  Now go type the url to submit to
      your servlet or whatever in your browser.  Boom you hit the breakpoint right?
      Have fun!
     </p>
    </section>
   </body>
  </document>
  
  
  
  1.1                  jakarta-site/docs/site/idedev-rdeclipse.html
  
  Index: idedev-rdeclipse.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="Andrew
C. Oliver">
              <meta name="email" value="acoliver@apache.org">
              
             
                                      
              <title>The Jakarta Site - IDE Developer's Guide - Setting up Eclipse 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 Eclipse for Remote Debugging"><strong>Setting
up Eclipse 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 <a href="http://www.eclipse.org">Eclipse</a> ready
      for action right?  So lets not waste time embelishing.  Eclipse 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 <a href="http://www.eclipse.org">eclipse.org</a> 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 <a href="http://download.eclipse.org/downloads/documentation/2.0/html/plugins/org.eclipse.jdt.doc.user/concepts/concepts-10.htm">here</a>
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 Run-&gt;Debug.  Click on "Remote Java Applications", then click New.
      Type in the title and all.  Notice that port 8000 from the Tomcat 
      instructions.  Save and run.  Eclipse will connect to the VM that Tomcat 
      is running under.  Wow, that was easy!  Now go type the url to submit to
      your servlet or whatever in your browser.  Boom you hit the breakpoint right?
      Have fun!
     </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:site-cvs-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:site-cvs-help@jakarta.apache.org>


Mime
View raw message