Hello, there's a windows port (non-cygwin, works in CMD.EXE) of tee and others - google "gnuwin32".
I'd still love to see maven use a logging system like log4j, though. David > -----Original Message----- > From: Andrew Robinson [mailto:[EMAIL PROTECTED] > Sent: 13 May 2008 17:24 > To: Maven Users List > Subject: Re: Output to console and file at the same time? > > Use tee (linux command): > > mvn install | tee myfile.log > > If you are on windows, I'm sure there is a port, or at least it would > work with cygwin. > > -Andrew > > On Tue, May 13, 2008 at 7:41 AM, Mick Knutson > <[EMAIL PROTECTED]> wrote: > > Is there a way I can get the output to the console and a > file on the same > > run? > > > > -- > > > > --- > > Thank You... > > > > Mick Knutson > > BASE Logic, inc. > > > > Website: http://www.baselogic.com > > Blog: http://www.baselogic.com/blog > > BLiNC Magazine: http://www.blincmagazine.com > > Linked IN: http://www.linkedin.com/in/mickknutson > > DJ Mick: http://www.djmick.com > > MySpace: http://www.myspace.com/mickknutson > > Tahoe: http://tahoe.baselogic.com > > --- > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
