From ivy-user-return-438-apmail-incubator-ivy-user-archive=incubator.apache.org@incubator.apache.org Wed Feb 28 10:46:11 2007 Return-Path: Delivered-To: apmail-incubator-ivy-user-archive@locus.apache.org Received: (qmail 61097 invoked from network); 28 Feb 2007 10:46:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Feb 2007 10:46:11 -0000 Received: (qmail 32495 invoked by uid 500); 28 Feb 2007 10:46:20 -0000 Delivered-To: apmail-incubator-ivy-user-archive@incubator.apache.org Received: (qmail 32397 invoked by uid 500); 28 Feb 2007 10:46:19 -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 32383 invoked by uid 99); 28 Feb 2007 10:46:19 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Feb 2007 02:46:19 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of gscokart@gmail.com designates 66.249.92.171 as permitted sender) Received: from [66.249.92.171] (HELO ug-out-1314.google.com) (66.249.92.171) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Feb 2007 02:46:07 -0800 Received: by ug-out-1314.google.com with SMTP id y2so91178uge for ; Wed, 28 Feb 2007 02:45:45 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:from:to:subject:date:message-id:mime-version:content-type:content-transfer-encoding:x-mailer:x-mimeole:thread-index:in-reply-to; b=khbIQ1YAf4dP6UAMaRaiwakVZgAQueoFa2dL29wIJlCT7OnmeCbqXTJQHlZ7Q/LQkC7ZpWMqFNUko4+hxq3KgoyYF3nQPbxIPIGzLrEaqGqQH7DbKJ7sEFhdaZ08STgIytdg3bgCV1OnmEAn8c6NS16FJc1mc+vJieQAfB0Ryyo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:from:to:subject:date:message-id:mime-version:content-type:content-transfer-encoding:x-mailer:x-mimeole:thread-index:in-reply-to; b=ScDf8I1JBDpET/IBXoJ4/tCv3GmCwSRf+LqLcLuN12pkIcr3rqk0PWVwFeC2ng4s6YOPeFdxiDN3qC18GcTdLl46O9qSut7Te9Q50i8fjyICLxsUHGh0bfMFjj/l/8oRM6+Y6zZfwITbi5mZ1XKUvoa9ombfyQrMGkWJeq39ul8= Received: by 10.67.103.7 with SMTP id f7mr454044ugm.1172659545848; Wed, 28 Feb 2007 02:45:45 -0800 (PST) Received: from SCOKARTGXP ( [195.122.110.8]) by mx.google.com with ESMTP id k28sm398271ugd.2007.02.28.02.45.43; Wed, 28 Feb 2007 02:45:44 -0800 (PST) From: "Gilles Scokart" To: Subject: RE: Getting dependency sets from ivy.xml for further ant use Date: Wed, 28 Feb 2007 11:45:42 +0100 Message-ID: <000a01c75b25$98f3caa0$3a20a8c0@isabelteam.be> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 Thread-Index: AcdbI3PpukeKauHdQFO+KhHyKzi1aQAAbRYA In-Reply-To: <1CCEA1ACF736B749B6FEE53168A6BF00022E5E24@server1e> X-Virus-Checked: Checked by ClamAV on apache.org As I said, I'm not sure to understand ;-). What you would like is the retrieve building a fileset that you can = reuse? Gilles > -----Original Message----- > From: Jan Hartmann [mailto:jan.hartmann.poc@googlemail.com] > Sent: mercredi 28 f=E9vrier 2007 11:30 > To: ivy-user@incubator.apache.org > Subject: Re: Getting dependency sets from ivy.xml for further ant use >=20 > I should define the target directory, into which ivy puts the = retrieved > dependencies, as a repository? But at the post resolve stage - at = which I > call cachefileset - some of the needed dependencies aren't in this = folder, > yet, because they need to be retrieved. And as far as I understood, = only > cachepath supports useOrigin, doesn't it? >=20 > - Jan Hartmann >=20 > 2007/2/28, Gilles Scokart : > > > > I'm not sure to understand. Here is anyway some idea. > > > > You might maybe define your lib.dir as a repository (you can = customize > the > > structure), then use the flags useOrigin. > > > > Gilles > > > > > -----Original Message----- > > > From: Jan Hartmann [mailto:jan.hartmann.poc@googlemail.com] > > > Sent: mercredi 28 f=E9vrier 2007 11:07 > > > To: ivy-user@incubator.apache.org > > > Subject: Re: Getting dependency sets from ivy.xml for further ant = use > > > > > > Hi. > > > > > > Thanks for your answer and sorry for my late one. The build = process > had > > to > > > stand back for some time in cause of other issues... > > > > > > The build system has an ivy file for each project, but all = retrieve > > their > > > dependencies into the same folder to avoid duplicates. > > > Retrieved dependencies are unversioned. So cachepath and = cachefileset > > are > > > fine, but use not the libraries in the central lib folder but the > > > dependency > > > paths in the ivy cache and are versioned, too. I was hoping to = find > > > something, which just gives me the dependencies, which are related = to > > the > > > current ivy-file, from my ${lib.dir}... > > > > > > - Jan Hartmann > > > > > > 2007/2/23, Xavier Hanin : > > > > > > > > On 2/22/07, Jan Hartmann = wrote: > > > > > > > > > > Hi. > > > > > > > > > > My situation is as followed: > > > > > I'm working in a multi-project workspace and my build process > should > > > > build > > > > > all projects. Since there are a lot of tasks, which are needed = for > > > more > > > > > than > > > > > one project build, I'm trying to build those tasks in a = generic > way. > > > > Also > > > > > those projects depend on a lot of similar libraries and for = saving > > > disk > > > > > space I want to put all libs resolved by ivy into one lib = folder > for > > > all > > > > > projects, so that libs a, b, c and d are not copied into a lib > > folder > > > > for > > > > > each project. > > > > > Now, when packaging the projects I need a pattern which of the > libs > > > > should > > > > > be put into package and as I try to keep it as generic as > possible, > > I > > > > > don't > > > > > want to define tasks for each project packaging with a = specially > > > defined > > > > > fileset. In the ivy.xml files there are all needed libs = defined > for > > > each > > > > > project, so is there a way to get this set of dependencies for = the > > > > > packaging > > > > > task? > > > > > > > > > > > > I'm not sure to get a clear picture of your build system. Do you > have > > an > > > > ivy > > > > file for each project, or only one for all? If you have an ivy = file > > for > > > > each > > > > project, packaging only the dependencies of the project is quite > easy, > > > you > > > > can use the cachepath or cachefileset tasks to get only the > > dependencies > > > > you > > > > need. If you have everything in only one ivy file, you will need = to > > use > > > > one > > > > configuration per project for instance to get only the = dependencies > > you > > > > want. > > > > > > > > - Xavier > > > > > > > > Thanks a lot in advance, > > > > > Jan > > > > > > > > > > > > >