Just what the title says – is it possible to echo the response contents without having to store the file?
I would also settle for being able to throw out the results, so a dest file is not created (on Windows, so no /dev/null).
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
On windows there are special file called NUL
which has the same function as /dev/null on *nix
(there are also CON, PRN, etc, see http://en.wikipedia.org/wiki/Device_file)
I think it is possible to use this file as the dest param
If you want to echo the result to the console, you can use CON as the destination
I dont know if it is a proper solution in the ant task, but somehow just work.