Ant: concat output executable file to some other files without creating a temporary file?

See the example below.

<concat destfile="dest-file"> <fileset dir="dir1" /> <!-- how to append the output of the executable below without creating a temporary file for that output? --> <apply executable="command1">...</apply> </concat> 
+4
source share
1 answer

support apply and exec tasks support redirector s so you can do something like:

 <apply executable="command1" > <redirector append="true" output="file.log" /> </apply> 
+3
source

Source: https://habr.com/ru/post/1413603/


All Articles