Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

command executed for ant task

 
pavan code
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am new to ant...

Is there any way to print the actual command executed when a ant task runs..?

for example when javac task in build.xml is executed the actual javac command with all arguments should be printed..

Thanks
Pavan
 
Roberto Perillo
Bartender
Posts: 2271
3
Eclipse IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Howdy, Pavan. Welcome to JavaRanch!

Champion, I'd kindly like to ask you to carefully choose the appropriate forum before posting a question. This way, you'll get answers to your questions faster, and the forum will also be better organized, so people with the same problem will find their answers faster too! Also, you might want to take a look at our FAQ, so you can see how to take good advantage of our JavaRanch.
 
Devaka Cooray
ExamLab Creator
Marshal
Pie
Posts: 4589
302
Chrome Eclipse IDE Google App Engine IntelliJ IDE jQuery Postgres Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"pavan code", please check your private messages regarding an important administrative matter.

You can use the <echo> element to print the properties.
 
pavan code
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you...
It was helpful.
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic