• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JBuilder and Ant help

 
Ranch Hand
Posts: 150
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Building web services, so using an Ant file so that I don't have to think about what order to do wsdeploys and wscompiles and restarts of the webserver, etc (things get ever more complicated in the Java deployment arena). Two things going on, though: one, I can't seem to run the project in debug mode. I have debug information supposedly turned on via Build properties, but when I run Debug, the project starts, but no breakpoints are triggered. Second, the docs seem to indicate that Run and Debug are going to use JBuilder's Make after doing the appropriate Ant steps. I can't seem to turn it off - I just want to use my Ant build and then use my debugger or run the application, without hitting JBuilder's build.
Suggestions?
 
Tina Coleman
Ranch Hand
Posts: 150
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
(Just in case anyone else ends up looking for this info. . .)
Got it working. Think I understand how.
1) Make sure debug="on" is set for the appropriate javac tasks in the Ant file.
2) I set my build target to "None" for Debug.
That seems to have done it. BTW, I am building _outside_ of JBuilder and then debugging within it. I'm running into issues where my exclude directives aren't working within JBuilder's use of Ant, though they are working outside of JBuilder. Dunno why. Not worth continuing to hunt, since I can compile outside, and then debug inside.
 
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I suggest you checkout AntRunner at SourceForge.net; all you have to do is download and copy a jar file into your jbuilder/libs/ext folder and make a few settings and restart JBuilder.

You can then run Ant inside of JBuilder. You will have Ant Build commands in the toolbar and menu.
Happy 'Anting,
Murali
 
Tina Coleman
Ranch Hand
Posts: 150
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sorry - should have given more info. We're using JBuilder 7, Enterprsie edition. Among its various features is the integration with Ant. According to the SourceForge project area for AntRunner, Dirk's going to keep on supporting AntRunner for "earlier and/or noncommercial versions of JBuilder".
Thanks for the pointer, though!
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic