ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vojta Filip <vo...@systinet.com>
Subject Re: Command line input
Date Wed, 14 Nov 2001 11:42:09 GMT


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:ant-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>
>

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


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message