am using ant scripts.my build.xml is in D:\ant my build.xml is at "D"drive , build.xml file handles everything like compling java files creating war,sar ets files and finally will put it into deploy folder of j-boss. now how do i debug it.
Please help. Am using eclipse only as editor.Please help me how to debug the java files by puting break points
You need to connect Eclipse to JBoss as a remote debug session. You then set Breakpoints on your edited code in Eclipse.
Ant doesn't really have much to do with any of this, beyond the actual build process. I recommend using the IDEs forum for further information.
One of the most odious afflictions that Business has inflicted on the modern English language is "pro-active". Most of the time it's simply redundantly used in place of the simple old word "active". And a good deal of the rest of the time it means "You're not overworked enough yet, so go out and find more!"
shabarish vai
Ranch Hand
Joined: May 26, 2008
Posts: 79
posted
0
hi Tim Holloway ,
thanks for the reply , but how to connect Eclipse to JBoss as a remote debug session
Look in the run.bat for JBoss AS - there is a comment on which line to uncomment to enable you to attach a remote debugger. Then read about remote debugging in the Eclipse help text.