Try fork="false". It should work.

 Vojta


On Wed, 14 Nov 2001, Kevin Jones wrote:

> I'm hope this is a stupid question!
>
> I have a very simple Java application that reads input from the command
> line. I use the java task like this
>
>   <target depends="build" name="runSender">
>     <java classname="MyApp" classpathref="project.class.path"
> failonerror="true" fork="true">
>         <arg line="arg1 arg2"/>
>      </java>
>   </target>
>
> When I run this from Ant I can't enter anything from the command line (it's
> being eaten by something), works OK outside of Ant.
>
> What am I missing?
>
> Kevin Jones
> Developmentor
> www.develop.com
>
>
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>

-- 
Vojtech Filip
Systinet  (formerly Idoox)
http://www.systinet.com


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to