Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 27480 invoked from network); 8 Oct 2003 09:25:43 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 8 Oct 2003 09:25:43 -0000 Received: (qmail 37579 invoked by uid 500); 8 Oct 2003 09:25:08 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 37526 invoked by uid 500); 8 Oct 2003 09:25:08 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 37462 invoked from network); 8 Oct 2003 09:25:07 -0000 Received: from unknown (HELO nt-exchange.decalog.fr) (194.206.147.22) by daedalus.apache.org with SMTP; 8 Oct 2003 09:25:07 -0000 Received: by nt-exchange.decalog.fr with Internet Mail Service (5.5.2653.19) id ; Wed, 8 Oct 2003 11:22:49 +0200 Message-ID: <94A1DD6F1F08D611B96E0090273F249D0133EC1C@nt-exchange.decalog.fr> From: Patrick Martin To: 'Ant Users List' Subject: Read / write files inside jar Date: Wed, 8 Oct 2003 11:21:51 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C38D7D.9BB90C10" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C38D7D.9BB90C10 Content-Type: text/plain Hi, EJB and other J2EE components (usually jared) use xml file as configuration standards (pool size, cache size, ...). We would like to be able to retrieve (store) and modify these configuration files, J2EE server being offline. In other terms, it would be an offline configuration, with a storage possibility (reuse the same configurations for an other server). This idea becomes harder when one think that jar (EJB), war (Web Apps) and rar (Connectors) can themselves be packaged inside an ear (Enterprise Archive) file. The solution I have for now is to extract those xml files and correponding templates, reconfigure them using a property file and and reinsert them into the *ar files. I am not sure it is that easy... Does anyone have an idea on how to do this simply with ant? Thank you, Patrick 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. ------_=_NextPart_001_01C38D7D.9BB90C10--