You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Jeff Jarrell <jj...@technovotics.com> on 2000/08/15 02:00:42 UTC

RE: Any way to log information other then through the command lin e?

Why not use the xmllogger, let it generate the xml log, then use the
xslt tag with a transforming xsl that filters out what you don't want.

I will be doing some work in this area in the next few days, so I see
how it goes.

jeff

 -----Original Message-----
From: 	Conor MacNeill [mailto:conor@cortexebusiness.com.au] 
Sent:	Monday, August 14, 2000 9:24 AM
To:	ant-user@jakarta.apache.org
Subject:	RE: Any way to log information other then through the
command line?

Jay,

You can write your own listener to capture information from a specific
task
and then add that listener to ant. Read the section on "Build Events" in
the
ant documentation. If you have any questions, give me a yell.

Conor


> -----Original Message-----
> From: Jay Glanville [mailto:dickon@nortelnetworks.com]
> Sent: Monday, 14 August 2000 23:13
> To: Ant-User (text)
> Subject: Any way to log information other then through the command
line?
>
>
> Is there any way to capture logging information, or task output,
through a
> way other then the command line option?
>
> For example, I want to run the javac task.  I want to capture the
> output of
> this build target in a file -- JUST the javac task, not the ant
> output.  The
> reason for this is because I then want to do something within
> this target to
> that output.  The actions to be performed on this information
> could be many.
> For example, e-mail the compiler log to a loadbuilder (in the case of
an
> automated loadbuild process).  Or, to move the log file to an HTML
area,
> showing the status of various loadbuild projects.
>
> I personally see this to be a useful thing for all tasks, but most
useful
> for things like the build (javac) and run (java) tasks.
>
> Is this available?  Is this a future intention?
>
> ------------------------------------------------------------------
> ----------
> -----
> Jay Dickon Glanville
> P068 - SiteManager Development, Nortel Networks
> 613-765-1144 (ESN 395-1144)
> MS: 045/55/A05
> E-Mail: dickon@nortelnetworks.com
>
>