You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2008/11/14 12:57:32 UTC

DO NOT REPLY [Bug 46203] task can lose data

https://issues.apache.org/bugzilla/show_bug.cgi?id=46203





--- Comment #1 from Stefan Bodewig <bo...@apache.org>  2008-11-14 03:57:31 PST ---
actually, things are a lot worse - and a lot more difficult to fix.  Throw in
an <exec> task and all bets are off
http://ant.apache.org/faq.html#input-makes-exec-hang

There is a recommended way for reading an input's tasks input from a file and
that is to use a different InputHandler.  Your customer shouldn't use stdin
redirects at all, this is not a supported use-case for input (and thus I could
simply claim it is a bug).

What you should use is a properties file with the answers to your different
input tasks (the keys of that property files are the input's prompts) and a
PropertyFileInputHandler.

I know you said you may not be able to change things on your side, but this is
at least as much a "you are using ant in a way that it doesn't support" as a
bug.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.