background preloader

Ant "exec"

Facebook Twitter

Exec Task. Description Executes a system command.

Exec Task

When the os attribute is specified, then the command is only executed when Ant is run on one of the specified operating systems. Note that you cannot interact with the forked program, the only way to send input to it is via the input and inputstring attributes. Also note that in Ant 1.6, any attempt to read input in the forked program will receive an EOF (-1). This is a change from Ant 1.5, where such an attempt would block. ANT task to automate the start of my server and application. How to Replace a property value? Ant - Frequently Asked Questions. Questions About this FAQ General.

Ant - Frequently Asked Questions