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 Thu, 15 Nov 2001 08:19:57 GMT
> > Is this a fundamental problem in Ant or is there some work-around?
> 
> It is not a "fundamental problem in Ant" as much as a design 
> choice some made 
> when they originally wrote the java task. You could argue that it was the 
> wrong choice but thats a different thing.

I didn't mean to slight the Ant developers (I love the thing). I should have said a fundamental
limitation, mean something designed in.

> A solution for you may 
> be to modify 
> java task and then taskdef it like

Do you mean write a custom task that extends the java task?

I'll add it to my todo list and post the code if/when it gets done,

Kevin Jones
Developmentor
www.develop.com 

> -----Original Message-----
> From: Peter Donald [mailto:donaldp@apache.org]
> Sent: 14 November 2001 23:18
> To: Ant Users List
> Subject: Re: Command line input
> 
> 
> On Thu, 15 Nov 2001 00:37, Kevin Jones wrote:
> > Thanks,
> >
> > I hoped that wasn't the case :-(
> >
 A solution for you may 
> be to modify 
> java task and then taskdef it like
> 
> <taskdef name="xjava" classname="com.biz.ant.MyCustomJava" />
> 
> However I don't think there is a way to do it without writing a 
> custom task.
> >
> > Kevin Jones
> > Developmentor
> > www.develop.com
> >
> > > -----Original Message-----
> > > From: Stefan Bodewig [mailto:bodewig@apache.org]
> > > Sent: 14 November 2001 08:53
> > > To: ant-user@jakarta.apache.org
> > > Subject: Re: Command line input
> > >
> > > On Wed, 14 Nov 2001, Kevin Jones <kevinj@develop.com> wrote:
> > > > What am I missing?
> > >
> > > Ant currently swallows all input sent to programs run via <java> or
> > > <exec> and friends.  There is nothing you can do about it, sorry.
> > >
> > > Stefan
> > >
> > > --
> > > To unsubscribe, e-mail:  
> > > <mailto:ant-user-unsubscribe@jakarta.apache.org> For 
> additional commands,
> > > e-mail: <mailto:ant-user-help@jakarta.apache.org>
> 
> -- 
> Cheers,
> 
> Pete
> 
> When a stupid man is doing something he's ashamed of, he always 
> declares that it is his duty.
> 					 George Bernard Shaw 
> 
> --
> 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