ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Troy Bull <troy.b...@gmail.com>
Subject Modify file inside war
Date Fri, 27 Mar 2009 14:08:40 GMT
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message