<ant:echo file="file" append="true">This is my text</ant:echo>
is a nice way of doing it :)

Mvgr,
Martin

On Mon, 2004-06-14 at 15:52, Brett Porter wrote:
> Sorry, I reread this, and realise you are probably trying to catpure output for
> a segment of the build inside a plugin. That's not something that I think exists
> at the moment, although it may be possible by writing a Jelly tag that
> redirected the XMLOutput... (you probably don't want to go there :)
> 
> Cheers,
> Brett
> 
> Quoting Brett Porter <[EMAIL PROTECTED]>:
> 
> > For Maven 1.0, the only way to do this is to write your own log4j.properties
> > and
> > override it (refer to log4j documentation).
> > 
> > That will get 95% of the output - but there is still some system.* in there.
> > 
> > - Brett
> > 
> > Quoting Jesper Linvald <[EMAIL PROTECTED]>:
> > 
> > > Hello all,
> > > 
> > > I am writing a custom maven plugin and would like to know how I can 
> > > redirect build output to a file.
> > > 
> > > Basically i need to log/redirect what usually get sent to the console...
> > > 
> > > Is there a way to do this in Jelly or in another way?
> > > 
> > > Regards
> > > 
> > > Jesper Linvald
> > > MAERSK DATA TRANSPORT
> > > Tel no.: +45 3911 1891
> > > 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]
-- 
Mvgr,
Martin


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to