User: mulder  
  Date: 00/09/08 05:33:11

  Modified:    .        jbuilder.htm
  Log:
  Add the -Duser.dir bit to the directions.  Clean up the HTML.  What can I
  say?  It's a slow morning.
  
  Revision  Changes    Path
  1.2       +70 -58    jbossweb/jbuilder.htm
  
  Index: jbuilder.htm
  ===================================================================
  RCS file: /products/cvs/ejboss/jbossweb/jbuilder.htm,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- jbuilder.htm      2000/09/01 23:53:45     1.1
  +++ jbuilder.htm      2000/09/08 12:33:11     1.2
  @@ -1,58 +1,70 @@
  -How to Run jBoss in JBuilder's Debugger<br>
  -<br>
  -This has been tested with jBoss 2.0 PR2-PR4, Win 98, and JBuilder<br>
  -Foundation 3.5<br>
  -<br>
  -With each of these, replace &lt;JBOSS-HOME&gt; with the location of<br>
  -your jBoss directory, for example, C:\jboss.<br>
  -<br>
  -1. Launch JBuilder.<br>
  -<br>
  -2. Go to Project|Properties, click the Paths tab, and make sure<br>
  -   you're using JDK 1.3 as your JDK.  To have 1.3 available, you<br>
  -   may need to add it or change your default JDK.  First install<br>
  -   JDK 1.3 (from Sun) on your PC, then point JBuilder to it by<br>
  -   clicking &quot;new&quot; or &quot;edit&quot; in the Select a JDK dialog.<br>
  -<br>
  -3. On the Paths tab, go to the Required Libraries tab, click &quot;add&quot;<br>
  -   and then &quot;new&quot; to create a new one, and call it &quot;jBoss 
Server&quot;<br>
  -   (or something similar).  Add the following .jar file:<br>
  -<br>
  -     &lt;JBOSS-HOME&gt;\bin\run.jar<br>
  -<br>
  -4. Click OK on the Edit library dialog, then OK on the Select one<br>
  -   or more libraries dialog, which should add the new library to<br>
  -   your project.  The library will now be available to other projects<br>
  -   as well.<br>
  -<br>
  -5. Go to the Run tab of the Project Properties dialog.  On the<br>
  -   Application tab, set the main class to org.jboss.Main.  Note<br>
  -   that this is project-specific and will need to be done for each<br>
  -   project running jBoss.<br>
  -<br>
  -6. Click OK and close JBuilder.<br>
  -<br>
  -7. Create a copy of your JBuilder shortcut (in Win98, it should be<br>
  -   in C:\WINDOWS\Start Menu\Programs\JBuilder 3.5).  Rename the<br>
  -   copy to something appropriate, such as &quot;JBuilder with<br>
  -   jBoss working directory&quot;.<br>
  -<br>
  -8. Edit the shortcut's properties by right-clicking and choosing<br>
  -   properties.  Change the &quot;Start in&quot; folder to 
&lt;JBOSS-HOME&gt;\bin\.<br>
  -   Click OK.<br>
  -<br>
  -9. To run or debug jBoss within JBuilder, first use the modified<br>
  -   shortcut to launch JBuilder, then open your project as normal<br>
  -   and select Run|Run Project or Run|Debug Project.<br>
  -<br>
  -10. To debug EJBs within this setup, first build and deploy them<br>
  -    in &lt;JBOSS-HOME&gt;\deploy as you would normally.  Then set<br>
  -    breakpoints in your EJB code and debug the project using<br>
  -    org.jboss.Main as the main class using the instructions above.<br>
  -<br>
  -NOTE:  When running jBoss within JBuilder, it will launch an<br>
  -empty console window with &quot;java&quot; as the title.  I'm not sure why<br>
  -this is, but it appears to have some relation to Hypersonic SQL.<br>
  -You will probably need to close this window manually after stopping<br>
  -jBoss.
  -<p>
  \ No newline at end of file
  +<HTML>
  +  <HEAD>
  +    <TITLE>How to Run jBoss in JBuilder's Debugger</TITLE>
  +  </HEAD>
  +  <BODY>
  +<H3>How to Run jBoss in JBuilder's Debugger</H3>
  +
  +<P>This has been tested with jBoss 2.0 PR2-PR4, Win 98, and JBuilder
  +Foundation 3.5</P>
  +
  +<P>With each of these, replace <CODE>&lt;JBOSS-HOME&gt;</CODE> with the
  +location of your jBoss directory, for example, C:\jboss.</P>
  +
  +<OL>
  +  <LI>Launch JBuilder.</LI>
  +  <LI>Go to Project|Properties, click the Paths tab, and make sure
  +   you're using JDK 1.3 as your JDK.  To have 1.3 available, you
  +   may need to add it or change your default JDK.  First install
  +   JDK 1.3 (from Sun) on your PC, then point JBuilder to it by
  +   clicking &quot;new&quot; or &quot;edit&quot; in the Select a JDK dialog.</LI>
  +  <LI>On the Paths tab, go to the Required Libraries tab, click &quot;add&quot;
  +   and then &quot;new&quot; to create a new one, and call it &quot;jBoss 
Server&quot;
  +   (or something similar).  Add the following .jar file:
  +
  +     <BLOCKQUOTE><CODE>&lt;JBOSS-HOME&gt;\bin\run.jar</CODE></BLOCKQUOTE>
  +  </LI>
  +  <LI>Click OK on the Edit library dialog, then OK on the Select one
  +   or more libraries dialog, which should add the new library to
  +   your project.  The library will now be available to other projects
  +   as well.</LI>
  +
  +  <LI>Go to the Run tab of the Project Properties dialog.  On the
  +   Application tab, set the main class to org.jboss.Main.  Note
  +   that this is project-specific and will need to be done for each
  +   project running jBoss.</LI>
  +
  +  <LI>On the Run tab, under &quot;VM Parameters&quot;, add the following
  +    (again, for each project):
  +    <BLOCKQUOTE><CODE>-Duser.dir=&lt;JBOSS-HOME&gt;</CODE></BLOCKQUOTE></LI>
  +
  +  <LI>Click OK and close JBuilder.</LI>
  +
  +  <LI>Create a copy of your JBuilder shortcut (in Win98, it should be
  +   in C:\WINDOWS\Start Menu\Programs\JBuilder 3.5).  Rename the
  +   copy to something appropriate, such as &quot;JBuilder with
  +   jBoss working directory&quot;.</LI>
  +
  +  <LI>Edit the shortcut's properties by right-clicking and choosing
  +   properties.  Change the &quot;Start in&quot; folder to
  +   <CODE>&lt;JBOSS-HOME&gt;\bin\</CODE>.
  +   Click OK.</LI>
  +
  +  <LI>To run or debug jBoss within JBuilder, first use the modified
  +   shortcut to launch JBuilder, then open your project as normal
  +   and select Run|Run Project or Run|Debug Project.</LI>
  +
  +  <LI>To debug EJBs within this setup, first build and deploy them
  +    in <CODE>&lt;JBOSS-HOME&gt;\deploy</CODE> as you would normally.  Then set
  +    breakpoints in your EJB code and debug the project using
  +    org.jboss.Main as the main class using the instructions above.</LI>
  +</OL>
  +
  +<P><B>NOTE:</B>  When running jBoss within JBuilder, it will launch an
  +empty console window with &quot;java&quot; as the title.  I'm not sure why
  +this is, but it appears to have some relation to Hypersonic SQL.
  +You will probably need to close this window manually after stopping
  +jBoss.</P>
  +
  +</BODY>
  +</HTML>
  \ No newline at end of file
  
  
  

Reply via email to