LDM91
LDM91

Reputation: 437

How do I display ANT exec task output in the same CMD window?

I am trying to build an ADF application using ANT from the command line, by making use of OJDeploy.

In the build.xml OJDeploy is executed on the CMD line using an exec task, I need to display the output from this task on the same command line.

I have tried running ANT with the -v option, and writing the output to a file but it does not give any of the output from OJDeploy executing.

Upvotes: 2

Views: 4441

Answers (2)

LDM91
LDM91

Reputation: 437

I solved the problem by simply calling "ojdeploy64" instead of "ojdeploy". After I did that the output was shown in the command line as I expected.

Upvotes: 0

Tobber
Tobber

Reputation: 7531

See How can I ensure all output from Ant's exec task goes to stdout?

Or perhaps.

<exec outputproperty="output" ... />
<echo message="${output}" />

Upvotes: 4

Related Questions