Return-Path: Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 65902 invoked by uid 500); 4 Aug 2003 15:29:31 -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 65886 invoked from network); 4 Aug 2003 15:29:30 -0000 Received: from plmler4.mail.eds.com (199.228.142.74) by daedalus.apache.org with SMTP; 4 Aug 2003 15:29:30 -0000 Received: from plmlir1.mail.eds.com (plmlir1-2.mail.eds.com [199.228.142.131]) by plmler4.mail.eds.com (8.11.6p2/8.11.6) with ESMTP id h74FTXj25926 for ; Mon, 4 Aug 2003 10:29:33 -0500 Received: from plmlir1.mail.eds.com (localhost [127.0.0.1]) by plmlir1.mail.eds.com (8.11.6p2/8.11.6) with ESMTP id h74FTVO04287 for ; Mon, 4 Aug 2003 10:29:32 -0500 (CDT) Received: from usplm102.exsc01.exch.eds.com (USPLM102.txpln.us.eds.com [198.132.135.15]) by plmlir1.mail.eds.com (8.11.6p2/8.11.6) with ESMTP id h74FTVc04267 for ; Mon, 4 Aug 2003 10:29:31 -0500 (CDT) Received: by USPLM102.txpln.us.eds.com with Internet Mail Service (5.5.2656.59) id ; Mon, 4 Aug 2003 10:29:28 -0500 Message-ID: <7A57F750AF65D411949C00508BDFD8181DC65B95@USPLM202> From: "Lopez, William" To: Ant Users List Subject: RE: Updating JARS then WAR and at least EAR files using Ant Date: Mon, 4 Aug 2003 10:29:24 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2656.59) Content-Type: text/plain X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Philippe: I have the similar issue...the way I chose to handle it (may not be the best way but it's the easiest for me :-) is to rebuild the ears, versus unpacking making changes and repacking- less hassle and the time it takes to rebuild it is minimal. Also, this way I don't have to worry about forgetting something. The build [execution] flow is compile all classes, jar them up, create wars then create ears. We have one "main" build file that calls others to build their piece of the puzzle. We have also enabled the ability to build one "component" at a time (jar, war, ear). You could accomplish this by using the target depends attribute or by using the , tasks or by using a number of 3rd party/external tasks...it's really up to your imagination/creativity. This list will also be an invaluable asset...tons of great ideas and great people. HTH, -Will -----Original Message----- From: Philippe Waltregny [mailto:philippe.waltregny@nrb.be] Sent: Monday, August 04, 2003 10:06 AM To: user@ant.apache.org Subject: Updating JARS then WAR and at least EAR files using Ant Hello, Here's my problem. I've an EAR file which contains a WAR file. This WAR file contains some JAR files as librairies. I've to update some JAR files, and consequently both the WAR and the EAR files. How to do each of these updates using Ant? Is it possible to do it without having to explode both the EAR and the WAR files into a directories structure, then to make changes, then to recreate both the WAR and the EAR files? Thank you in advance. Philippe Waltregny mailto:philippe.waltregny@nrb.be --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org