ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shatzer, Larry" <>
Subject RE: Why Ant recording does not work as expected?
Date Wed, 26 Nov 2003 16:35:59 GMT
> -----Original Message-----
> From: Baz []
> Sent: Wednesday, November 26, 2003 8:14 AM
> To: Ant Users List
> Subject: Why Ant recording does not work as expected?
> All,
> I am trying to use the record tasks in ant to produce log 
> file. However, I
> do not seem to see any activities in the log file besides the 
> date. Can
> anyone tell me what I did wrong?

I ran into this, and came to the conculsion that you can't start up a
<recorder> via antcall, since it lives only in the antcall project, and not
the calling project.

My solution was to use a macrodef instead for <log action="start"> and <log
action="stop"> and pass that to the recorder with your defaults for location
and such.

Of course, using <macrodef> requires Ant 1.6 Beta.

-- Larry

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message