| Author |
How to Make the build.xml File Print to Console
|
Stevens Miller
Ranch Hand
Joined: Jul 26, 2012
Posts: 373
|
|
I'm using NetBeans and had to add a couple of lines to its build.xml file. It would help my future debugging if I could add something more to that file that would cause it to print a line (something like, "about to run javah") just before it executed a particular command.
Anyone know how to do that?
|
 |
jatan bhavsar
Ranch Hand
Joined: Jul 23, 2008
Posts: 296
|
|
Hi Stevens,
You can explore the <echo> task in Ant through which you will be able to print the messages on the console ... http://ant.apache.org/manual/Tasks/echo.html
Also you can generate the log file for your build.xml with Record task.... http://ant.apache.org/manual/Tasks/recorder.html..
Hope this will be helful to you.
Regards
Jatan
|
 |
Stevens Miller
Ranch Hand
Joined: Jul 26, 2012
Posts: 373
|
|
That is exactly what I needed.
Thanks, jatan!
|
 |
 |
|
|
subject: How to Make the build.xml File Print to Console
|
|
|