File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Ant, Maven and Other Build Tools and the fly likes command executed for ant task Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "command executed for ant task" Watch "command executed for ant task" New topic
Author

command executed for ant task

pavan code
Greenhorn

Joined: Mar 27, 2010
Posts: 2
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

Joined: Dec 28, 2007
Posts: 2265
    
    3

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.

Cheers, Bob "John Lennon" Perillo
SCJP, SCWCD, SCJD, SCBCD - Daileon: A Tool for Enabling Domain Annotations
Devaka Cooray
ExamLab Creator
Saloon Keeper

Joined: Jul 29, 2008
Posts: 3098
    
  40

"pavan code", please check your private messages regarding an important administrative matter.

You can use the <echo> element to print the properties.


Author of ExamLab ExamLab - a free SCJP / OCPJP exam simulator
What would SCJP exam questions look like? -- Home -- Twitter -- How to Ask a Question
pavan code
Greenhorn

Joined: Mar 27, 2010
Posts: 2
Thank you...
It was helpful.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: command executed for ant task