Win a copy of Microservices in Action this week in the Web Services forum!
  • 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
  • Bear Bibeault
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Ganesh Patekar
  • Frits Walraven
  • Tim Moores
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Stephan van Hulst
  • salvin francis
  • Tim Holloway

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
 
Bartender
Posts: 19996
95
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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!