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 <JBOSS-HOME> 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 "new" or "edit" in the Select a JDK dialog.<br> -<br> -3. On the Paths tab, go to the Required Libraries tab, click "add"<br> - and then "new" to create a new one, and call it "jBoss Server"<br> - (or something similar). Add the following .jar file:<br> -<br> - <JBOSS-HOME>\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 "JBuilder with<br> - jBoss working directory".<br> -<br> -8. Edit the shortcut's properties by right-clicking and choosing<br> - properties. Change the "Start in" folder to <JBOSS-HOME>\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 <JBOSS-HOME>\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 "java" 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><JBOSS-HOME></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 "new" or "edit" in the Select a JDK dialog.</LI> + <LI>On the Paths tab, go to the Required Libraries tab, click "add" + and then "new" to create a new one, and call it "jBoss Server" + (or something similar). Add the following .jar file: + + <BLOCKQUOTE><CODE><JBOSS-HOME>\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 "VM Parameters", add the following + (again, for each project): + <BLOCKQUOTE><CODE>-Duser.dir=<JBOSS-HOME></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 "JBuilder with + jBoss working directory".</LI> + + <LI>Edit the shortcut's properties by right-clicking and choosing + properties. Change the "Start in" folder to + <CODE><JBOSS-HOME>\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><JBOSS-HOME>\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 "java" 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
