ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rémon van Gijn <r.van.g...@portbase.com>
Subject RE: Modify file inside war
Date Fri, 27 Mar 2009 14:12:22 GMT
How about fixing the generation?

Why ever would it matter if there is an extra line in the .mf file?

Rémon

 


-----Original Message-----
From: Troy Bull [mailto:troy.bull@gmail.com] 
Sent: vrijdag 27 maart 2009 15:09
To: user@ant.apache.org
Subject: Modify file inside war

Greetings,

I am in charge of deploying applications for my company.  I am given war
files by developers or cruise control builds.  These builds some times have
1 extra line the META-INF/Manifest.mf file.

Is there a way with ant I can remove this line from this file?

Basically as I see it the worst case :
I need to explode the war file
Check if this line exists in the Manifest.mf,
if the line exists remove it
rebuild the war file with the new manifest

is there an easier way?  Is this way possible?  If so what "tasks" would I
use?

Thanks in advance

Troy

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


Mime
View raw message