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 Thu, 08 Jul 2004 12:41:03 GMT
If you run your build script from within rxvt rather than from with
cmd.exe, it will clear the screen when the clear application is
executed.  It does mean using a full shell environment rather than the
NT command line, but (IMHO) it's a lot nicer anyway!

Andrew

On Wed, 07 Jul 2004 13:37:58 -0400, Jeffrey Bacon <jbacon@magmic.com> wrote:
> yeah, I'd like to not have tin instantiate Ant twice if I can avoid it.
> 
> 
> --
> Jeffrey Bacon
> jbacon@magmic.com
> Creative Developer
> http://www.magmic.com
> 
> Andrew Craig wrote:
> > 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
> >>
> >>
> >
> >
> >
> 
> ---------------------------------------------------------------------
> 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