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:[email protected]] 
Sent: vrijdag 27 maart 2009 15:09
To: [email protected]
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to