ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <hind.lwahh...@accenture.com>
Subject <record >and listeners: incompatibility?
Date Fri, 08 Jul 2005 13:20:04 GMT
Hi all;
I am using the -listener net.sf.antcontrib.perf.AntPerformanceListener option from antcontrib
and at the same time i wanted to record the output of my antscripts to a log file(i don't
use the -logfile option because i want the output to be recorded on console and stored in
a file at the same time).
Well it seems that running <record> ans this listener together does not work.
Any ideas?
Any help would be warmly welcome!

Hind.

-----Original Message-----
From: Juergen Hermann [mailto:jh@web.de]
Sent: Fri 7/8/2005 10:35 AM
To: Ant Users List; Kai Hendry
Subject: Re: Manifestations
 
On Fri, 08 Jul 2005 17:37:53 +1000, Kai Hendry wrote:

Seems easy enough. 

use <loadfile> and a <tail> filter to load the ear manifest EXCEPT the first 
line (<tail lines=-1 skip=1> I think). btw, you could also load this easy 
manifest file as a property file, giving you a "class-path" property in 
memory.

then use a 2nd filterchain to insert that property into the main manifest, 
using a <replaceregex> to insert the loaded ear manifest at the place you 
want.

>Something specific to EAR

>[hendry@SOLTEC-TEST SABSJ2EE]$ cat ./sabs/META-INF/MANIFEST.MF
>Manifest-Version: 1.0
>Class-Path: sabs-common.jar lots.jar more.jar jars.jar

>With a base for the entire project:

>[hendry@SOLTEC-TEST SABSJ2EE]$ cat ../SABSBuild/MANIFEST.MF
>Manifest-Version: 1.0
>Ant-Version: Apache Ant 1.6.4
>Created-By: 1.4.2_06-b03 (Sun Microsystems Inc.)
>Build-Master: hendry

>Name: common
>Build-Version: 4.0
>Build-Number: 3268
>Build-Date: 08 Jul 2005
>Vendor: SoltecSoftware.com.au


>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>For additional commands, e-mail: user-help@ant.apache.org



Ciao, J├╝rgen



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org




This message is for the designated recipient only and may contain privileged, proprietary,
or otherwise private information.  If you have received it in error, please notify the sender
immediately and delete the original.  Any other use of the email by you is prohibited.


This message is for the designated recipient only and may contain privileged, proprietary,
or otherwise private information.  If you have received it in error, please notify the sender
immediately and delete the original.  Any other use of the email by you is prohibited.


Mime
View raw message