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]

Reply via email to