Return-Path: Delivered-To: apmail-incubator-ivy-user-archive@locus.apache.org Received: (qmail 4382 invoked from network); 13 Dec 2006 15:14:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Dec 2006 15:14:18 -0000 Received: (qmail 97464 invoked by uid 500); 13 Dec 2006 15:14:25 -0000 Delivered-To: apmail-incubator-ivy-user-archive@incubator.apache.org Received: (qmail 97401 invoked by uid 500); 13 Dec 2006 15:14:25 -0000 Mailing-List: contact ivy-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ivy-user@incubator.apache.org Delivered-To: mailing list ivy-user@incubator.apache.org Received: (qmail 97392 invoked by uid 99); 13 Dec 2006 15:14:25 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Dec 2006 07:14:25 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [192.6.10.60] (HELO tobor.hpl.hp.com) (192.6.10.60) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Dec 2006 07:14:11 -0800 Received: from localhost (localhost.localdomain [127.0.0.1]) by tobor.hpl.hp.com (Postfix) with ESMTP id 4A3F14C0B2 for ; Wed, 13 Dec 2006 15:13:49 +0000 (GMT) X-Virus-Scanned: amavisd-new at hplb.hpl.hp.com Received: from tobor.hpl.hp.com ([127.0.0.1]) by localhost (tobor.hpl.hp.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id ftSxIFi1O4Zc for ; Wed, 13 Dec 2006 15:13:45 +0000 (GMT) Received: from ha-node-br1.hpl.hp.com (ha-node-br1.hpl.hp.com [16.25.144.56]) by tobor.hpl.hp.com (Postfix) with ESMTP id 542174C0B1 for ; Wed, 13 Dec 2006 15:13:45 +0000 (GMT) Received: from [16.27.192.155] ([16.27.192.155]) by ha-node-br1.hpl.hp.com (8.13.4/8.13.4) with ESMTP id kBDFDUph020956 for ; Wed, 13 Dec 2006 15:13:31 GMT Message-ID: <45801892.9050001@apache.org> Date: Wed, 13 Dec 2006 15:13:22 +0000 From: Steve Loughran User-Agent: Thunderbird 1.5.0.5 (Windows/20060719) MIME-Version: 1.0 To: ivy-user@incubator.apache.org Subject: Re: EAR/WARS/JAR dependencies References: <00d901c71e94$f1fcad10$3020a8c0@isabelteam.be> In-Reply-To: <00d901c71e94$f1fcad10$3020a8c0@isabelteam.be> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-HPL-MailScanner-Information: Please contact the ISP for more information X-HPL-MailScanner: Found to be clean X-HPL-MailScanner-From: stevel@apache.org X-Virus-Checked: Checked by ClamAV on apache.org Gilles Scokart wrote: > > > I have project with ears containing wars containing jars. I would like to > have some jars placed in the ears (in a lib directory), and some jars > contained in the wars. > > Idealy, I want the locate the knowledge of which jar should be in the wars > and which one should be in the ear at a single place. > > The dependencies between the jars (and between war and jar, and between ear > and wars) are managed with ivy. > > Idealy, I don't want to put any knowledge of wars/ears into the ivy file of > the jars. > Idealy, I also would like to limit the list of jar dependencies into my wars > ivy.xml. I preffer to rely on ivy to provide me the full list of transitive > dependencies of a few top level jars. > > Did anyone already tried to do something like that? > For EAR work I pulled all JARs out of the WAR; moved it in to EAR. Which for JBoss 4.x means I cannot use the lib/ dir (not implemented), and instead have an application.xml with all artifacts. I avoided adding classpath manifests to those JARs, so they are visible to all WAR files in the EAR. to keep application.xml maintenance down, I extract the artifacts without any version info. -steve