ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Duncan Strang" <>
Subject RE: Modify files inside zip
Date Thu, 16 Oct 2003 10:37:19 GMT

I've always thought that this is a real shortcoming of the whole jar,
ear, war thing, the fact that you have to go through the entire build
process when you want to make even a small change...
As for turning over maintenance and continued development to a
client....forget it if they don't understand the build process.
That's what ant is for of course. To ease this process,but depending on
which application server you are using it should be possible to modify
certain values from the app server console.

My main exp' is with can modify all sorts of things in
the deployment descriptors from the console.

If you can't make the modifications 'on the fly' then ant is perfect for
'patching' tasks.
It takes a bit of setting up but the extract, modify and rebuild cycle
is the only way to go as far as I can see.

Once you have it set up it's simply a case of making the change and
running the patching target.


My current project uses ant
>-----Original Message-----
>From: Patrick Martin [] 
>Sent: 16 October 2003 11:14
>To: 'Ant Users List'
>Subject: Modify files inside zip
>In order to configure a J2EE server, I need to set some values 
>in xml files inside zip files (jar, war, ...). Actually, some 
>of these zip files are even inside an .ear file...
>Does anyone have an idea on how to easily do that?
>Confidentiality Notice: The information contained in this 
>e-mail message is intended only for the personal and 
>confidential use of the recipient(s) named above. If the 
>reader of this message is not the intended recipient or an 
>agent responsible for delivering it to the intended recipient, 
>you are hereby notified that you have received this document 
>in error and that any review, dissemination, distribution, or 
>copying of this message is strictly prohibited. If you have 
>received this communication in error, please notify us 
>immediately by e-mail, and delete the original message. 
>Message confidentiel : Les informations contenues dans ce 
>message sont destinees a un usage personnel et confidentiel du 
>destinataire indique ci-dessus. Si le lecteur de ce message 
>n'est pas le destinataire prevu, ou n'est pas une personne en 
>charge de le delivrer au destinataire voulu, vous etes par la 
>presente informe que vous avez recu ce document par erreur, et 
>que tout examen, transmission, distribution ou copie de ce 
>message est totalement interdit. Si vous avez recu cette 
>communication par erreur, nous vous remercions de bien vouloir 
>nous avertir immediatement par e-mail et de detruire le 
>message d'origine.
>This email has been scanned for all viruses by the MessageLabs 
>Email Security System. For more information on a proactive 
>email security service working around the clock, around the 
>globe, visit 

This email has been scanned for all viruses on behalf of UKeUniversities Worldwide Limited
by the MessageLabs Email
Security System. ________________________________________________________________________

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message