Return-Path: Delivered-To: apmail-incubator-ivy-user-archive@locus.apache.org Received: (qmail 81393 invoked from network); 14 Mar 2007 17:17:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Mar 2007 17:17:28 -0000 Received: (qmail 29020 invoked by uid 500); 14 Mar 2007 17:17:30 -0000 Delivered-To: apmail-incubator-ivy-user-archive@incubator.apache.org Received: (qmail 28948 invoked by uid 500); 14 Mar 2007 17:17:29 -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 28918 invoked by uid 99); 14 Mar 2007 17:17:29 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Mar 2007 10:17:29 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [164.128.235.36] (HELO int.ofac.ch) (164.128.235.36) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Mar 2007 10:17:17 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: war and ear etc... Date: Wed, 14 Mar 2007 18:16:55 +0100 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: war and ear etc... Thread-Index: AcdljwEBjd1dms4cQVW1XZ9Gbg8xCAAzYH0w From: =?iso-8859-1?Q?Kundig_Andr=E9as?= To: , "Dmitriy Korobskiy" X-Virus-Checked: Checked by ClamAV on apache.org Thank you Steve and Dmitriy Your replies were really helpful Andreas -----Message d'origine----- De=A0: Dmitriy Korobskiy [mailto:dkroot1@gmail.com]=20 Envoy=E9=A0: mardi, 13. mars 2007 17:45 =C0=A0: Kundig Andr=E9as Objet=A0: Re: war and ear etc... Hi, Kundig Re: your e-mail from Tuesday, March 13, 2007 5:44 AM KA> Hello KA> =20 KA> I want to use ivy in several existing WSAD projects. KA> There are war projects, and ear projects which refer to the wars.=20 KA> =20 KA> A war project needs to know which jars he puts in the WEB-INF/lib = directory for distribution, KA> which jars are distributed by the ear (the war must refer to them in = the META-INF/MANIFEST.MF file) KA> and which jars he needs only for compilation (the jars the server = provides to all ears). KA> =20 KA> An ear project needs to know which jars he distributes. KA> =20 KA> I am trying to keep all the information about jar dependencies in = the ant/ivy system. KA> Is this possible ? KA> =20 KA> thank you KA> =20 KA> Andreas Kundig This is precisely type of a problem where Ivy shines. On our large JavaEE project we have many JavaEE modules / applications. = We have standardized across the board to have the following Ivy configurations = in our modules: - "compile". Determines compile-time classpath. - "war". Determines what JARs go into WEB-INF/lib. Also, the special = case is a dependency on a WAR artifact, in which case, it is expanded and consumed (i.e. packaged) into an output WAR - "ear". Determines what JARs go into an EAR. Additional configurations that might be useful, could be "test" (in our = case we simply use "compile" for test targets), and "ide" to pull sources and = JavaDocs into IvyDE. And of course, you can tweak what configurations you decide to have to = your heart's content. Dmitriy <1-127-441 @ICQ, DKroot @Skype, DKroot1 @AIM, = dkroot1_at_gmail_dot_com @Google Talk>