I'll see how I get on..   I sorta feel like the Dashboard's approach to
grabbing messages is a bit of hack..  Hijacking the stream via passing in
another logger is creative though..

I was also playing around, and realized that log4j's SocketHubAppender is
all I really need!  If I can tell Maven to use a SocketHubAppender and a
port, then I can fire up Chainsaw, attached a SocketHubReciever to that port
and get my "what is CC" and therefore "what is maven" doing messages via
that route...

If I want to customize the log4j.properties file that Maven uses, would I be
able to place a log4j.properties in the /maven/lib directory?  Would the
classpath loader (?) pick that up instead of the log4j.properties in
maven.jar?  Or do I need to edit the maven.jar version?

I might look at the XMLOutput approach, and the issues listed, but mucking
around that deep in Maven sounds scary!  I agree, sounds like a good 1.1
addition!

Eric

> -----Original Message-----
> From: Brett Porter [mailto:[EMAIL PROTECTED]
> Sent: Friday, June 18, 2004 3:37 AM
> To: Maven Users List; Eric Hauser
> Subject: Re: Equivalent to Ants -logger?
>
>
> If you are really keen to do this, you'd need to specify a new
> XMLOutput to
> Jelly. It could be done, but its not on the 1.0 priority list:)
>
> - Brett
>
> Quoting Eric Hauser <[EMAIL PROTECTED]>:
>
> > Maven doesn't have an extensible event model for builds like Ant does.
> > Unfortunately, you also cannot use Ant's event model from inside Maven
> > either.  There are a couple of open issues in Maven's JIRA about this:
> >
> > http://jira.codehaus.org/browse/MAVEN-553
> > http://jira.codehaus.org/browse/MAVEN-126
> >
> > Eric Pugh wrote:
> > > Hi all,
> > >
> > > I am playing around with the Dashboard plugin for Eclipse which allows
> > > CruiseControl messages to be sent to a socket.  It integrates into Ant
> > > builds via passing in a custom Logger.  I'd like to do the
> same for Maven
> > > builds, but not sure how to hijack the Maven logger and send messages
> > > elsewhere..
> > >
> > > Eric
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> >
> >
> > --
> > Eric W. Hauser
> > Application Developer
> > accessIndiana..."linking hoosiers to government"
> > http://www.IN.gov
> > 10 W. Market St., Suite 600
> > Indianapolis, IN 46204
> > Phone: (317) 233-4007
> > Fax: (317) 233-2011
> >
> > **********************************************************************
> > CONFIDENTIALITY NOTICE:
> > This E-mail and any attachments are confidential.  If you are not the
> > intended recipient, you do not have permission to disclose, copy,
> > distribute, or open any attachments.  If you have received this E-mail
> > in error, please notify us immediately by returning it to the
> sender and
> > delete this copy from your system.
> > Thank you.
> > accessIndiana, MyLocal.IN.gov, CivicNet
> > **********************************************************************
> >
> >
> > ---------------------------------------------------------------------
> > 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]

Reply via email to