ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Juergen Hermann" ...@web.de>
Subject Re: Manifestations
Date Fri, 08 Jul 2005 08:35:32 GMT
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


Mime
View raw message