Hello,
here is a pretty clear question.
I need to run a java task with <java> , which should be run in parallel with ant, and this is normal if work terminates the ant process, therefore spawn="true" .
I need to see the job exit in the designated file. This is quite achievable with output="job.out" for spawn="false" , but I was not lucky that spawn"=true" .
So, is there some kind of dirty hack hack, or do I really need to wrap a java call with exec , as shown below?
CMD /C my-java-command-and-hardcoded-classpath-goes-here > job.out
Thanks Anton
source share