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

>[EMAIL PROTECTED] 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:

>[EMAIL PROTECTED] 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: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]



Ciao, Jürgen



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

Reply via email to