ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Jones" <kev...@develop.com>
Subject RE: Command line input
Date Wed, 14 Nov 2001 13:37:05 GMT
But then it doesn't pick up the right classpath - it uses the classpath ant
is using.

Is it possible to specify a classpath and use fork=false?

Kevin Jones
Developmentor
www.develop.com

> -----Original Message-----
> From: Vojta Filip [mailto:vojta@systinet.com]
> Sent: 14 November 2001 11:42
> To: Ant Users List
> Subject: Re: Command line input
>
>
>
>
> 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>


--
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