2

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.

4

2 回答 2

4

请参阅如何确保 Ant 执行任务的所有输出都进入标准输出?

也许。

<exec outputproperty="output" ... />
<echo message="${output}" />
于 2013-10-16T12:03:08.743 回答
0

我通过简单地调用“ojdeploy64”而不是“ojdeploy”解决了这个问题。在我这样做之后,输出按我的预期显示在命令行中。

于 2013-10-16T14:01:24.963 回答