[ http://jira.codehaus.org/browse/MAVEN-1125?page=comments#action_71097 ] Andy Jefferson commented on MAVEN-1125: ---------------------------------------
Hi, this was closed in March (didnt receive a notification) and finally came back to the issue. I read the "more succinct report" that it refers to and the "solution" does nothing for me. How am i to use ant:java with fork=false and avoid the xml-apis messages ? How am I to use ant:java with fork=true and get the input ? What do i pass in to the "InputHandler" ? Point me to a doc at least that defines this, please Is this fixed in Maven 1.1-beta-X for ant fork=false ? No, I dont use Maven 2 yet. Would it work there ? > ant:java fork issues > -------------------- > > Key: MAVEN-1125 > URL: http://jira.codehaus.org/browse/MAVEN-1125 > Project: Maven > Issue Type: Bug > Affects Versions: 1.0-rc2 > Environment: Linux, JDK1.4.2 > Reporter: Andy Jefferson > > I have a Java app that I want to invoke via Maven. The Java app uses stdin > and stdout. > If I invoke using ant:java using "fork=true" then stdin doesn not respond > correctly. That is, the app prompts, but the user can type to their hearts > content and nothing reaches the app. > If I invoke using ant:java using "fork=false" then I get strange XML related > errors about unresolved references org/w3c/dom/Node, org/w3c/dom/Document -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira