• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
Sheriffs:
  • Devaka Cooray
  • Junilu Lacar
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Tim Holloway
  • Claude Moore
  • Stephan van Hulst
Bartenders:
  • Winston Gutkowski
  • Carey Brown
  • Frits Walraven

Debug java web application using ant  RSS feed

 
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all,

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
 
Saloon Keeper
Posts: 20498
115
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
shabarish vai
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi Tim Holloway ,

thanks for the reply , but how to connect Eclipse to JBoss as a remote debug session
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!