ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Craig <andre...@gmail.com>
Subject Re: running commands in Cygwin
Date Wed, 07 Jul 2004 17:36:06 GMT
Well one option to do this
ant clean && clear && ant under-control

It does mean any init steps would be executed twice though.

Andrew

On Wed, 07 Jul 2004 13:02:41 -0400, Jeffrey Bacon <jbacon@magmic.com> wrote:
> I want do do it after a clean operation in my ant script so I can go:
> 
> ant clean clear under-control
> 
> and get rid of the output from the clean command before running the build.
> --
> Jeffrey Bacon
> jbacon@magmic.com
> Creative Developer
> http://www.magmic.com
> 
> 
> 
> 
> Andrew Craig wrote:
> > Normally for this I do:
> >
> > clear && ant
> >
> > when calling ant -- that way I can clear the screen -- but only if I
> > want to (as occasionally I might not want to clear up the screen).
> >
> > If you are using cmd.exe, you'd be better off running cls anyway as it's faster!
> >
> > Andrew
> >
> > On Wed, 07 Jul 2004 11:21:38 -0400, Jeffrey Bacon <jbacon@magmic.com> wrote:
> >
> >>I want to run the 'clear' command that is in my path in Cygwin (and in
> >>the cmd.exe environment) in an Ant script to clear the output on my
> >>console.  Not sure if this is possible or not but any ideas?
> >>
> >>--
> >>--
> >>Jeffrey Bacon
> >>jbacon@magmic.com
> >>Creative Developer
> >>http://www.magmic.com
> >>
> >>---------------------------------------------------------------------
> >>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> >>For additional commands, e-mail: user-help@ant.apache.org
> >>
> >>
> >
> >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 
> 


-- 
Andrew

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


Mime
View raw message