aspose file tools
The moose likes Ant, Maven and Other Build Tools and the fly likes Ant target to load an external batch file (.bat) ? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Reply Bookmark "Ant target to load an external batch file (.bat) ?" Watch "Ant target to load an external batch file (.bat) ?" New topic
Author

Ant target to load an external batch file (.bat) ?

Edward Chen
Ranch Hand

Joined: Dec 23, 2003
Posts: 758
How to write an Ant target to load an external batch file (.bat) ?

Thanks
Giovanni De Stefano
Ranch Hand

Joined: Aug 17, 2004
Posts: 144
Hi!

You can use this:



Where testbat.bat is your batch file, I used the following brainless batch file:



Let me know if it works!
Giovanni


SCJP 1.4
Edward Chen
Ranch Hand

Joined: Dec 23, 2003
Posts: 758
it works .

Thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Ant target to load an external batch file (.bat) ?
 
Similar Threads
Executing DOS commands through ANT
How to make exe file?
Error: The name specified is not recognized as ...
Environment Problem
ANT BUILD.xml Vs BATCH