[EMAIL PROTECTED] wrote:
Hi!

I am working with Eclipse as IDE under Win2k. I downloaded the JBOSS 3.2.0
as source. How can I debug JBoss from Eclipse?

i have two checkouts no sourcebundles, but it should work the same way. One for eclipse and one for running the server. Then I don't have problems with refreshing the IDE. In the checkout for running the server I build it with the build.sh script in the build dir and tomcat41 dir. In eclipse you have to checkout the jboss-3.2 module first and update this with the version Branch_3_2. Then you have the equivalent to
cvs -z3 checkout -r Branch_3_2 jboss-3.2

After this I build it with build/build.sh to let xdoclet generate the additional java-files. Then you must add the src and gen-src dirs to your project. Additionaly you need some of the jar files from the subdirs of thirdparty/. I added an 'idebuild' dir as the output for the IDE compiler. If the classpath is right, JBoss will build. May be you need to delete some dirs, because they are excluded in the original ant build files.

I killed my project dir with an accidental checkout/update a few days ago, so I can't send you my .classpath-file, yet.

With the help of the EASIE JBoss plugin for eclipse I can start JBoss from the IDE. You have to patch the shutdown.sh script because the plugin is to old and can't send the '-S' parameter to the script. But without the plugin it should be easily possible with a Run/Debug config.

Now you could set breakpoints in JBoss or your code and trace through it.

It should be possible with only one JBoss project in eclipse. But I can configure the running JBoss without touching the IDE build and vice versa, when I have two checkouts.

Bernd
--
Dipl.-Inform. Bernd Koecke
UNIX-Entwicklung
Schlund+Partner AG
Fon: +49-721-91374-0
E-Mail: [EMAIL PROTECTED]

Attachment: msg25215/pgp00000.pgp
Description: PGP signature

Reply via email to