You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Mick Knutson <mi...@gmail.com> on 2008/05/13 15:41:11 UTC
Output to console and file at the same time?
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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
RE: Output to console and file at the same time?
Posted by Bernhard David <da...@elca.ch>.
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:andrew.rw.robinson@gmail.com]
> 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
> <mi...@gmail.com> 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: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Output to console and file at the same time?
Posted by Andrew Robinson <an...@gmail.com>.
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 <mi...@gmail.com> 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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org