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?
posted 17 years ago
(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.
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
"It is almost always answered in the API" - Murali Nanchala
posted 17 years ago
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!
I yam what I yam and that's all that I yam - the great philosopher Popeye. Tiny ad: