Return-Path: Delivered-To: apmail-ant-ivy-user-archive@www.apache.org Received: (qmail 66951 invoked from network); 11 Feb 2008 03:30:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Feb 2008 03:30:48 -0000 Received: (qmail 78399 invoked by uid 500); 11 Feb 2008 03:30:41 -0000 Delivered-To: apmail-ant-ivy-user-archive@ant.apache.org Received: (qmail 78377 invoked by uid 500); 11 Feb 2008 03:30:41 -0000 Mailing-List: contact ivy-user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ivy-user@ant.apache.org Delivered-To: mailing list ivy-user@ant.apache.org Received: (qmail 78368 invoked by uid 99); 11 Feb 2008 03:30:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 10 Feb 2008 19:30:41 -0800 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Feb 2008 03:29:56 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1JOPN3-0006q8-4a for ivy-user@ant.apache.org; Sun, 10 Feb 2008 19:30:17 -0800 Message-ID: <15405054.post@talk.nabble.com> Date: Sun, 10 Feb 2008 19:30:17 -0800 (PST) From: limbicsystem To: ivy-user@ant.apache.org Subject: using cachefileset for creating war files without staging dir MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: limbicsystem@gmail.com X-Virus-Checked: Checked by ClamAV on apache.org Hi, I have a very large build with hundreds of artifacts. In order to create war and ear files with their dependent libs in the right place (typically WEB-INF/lib), I create a temporary "staging" dir, copy in the dependencies from cachefileset, and then create the war/ear. This works, but is very slow due to all the copying. I can get a significant speedup if I use the fileset references created by ivy:cachefileset directly when creating the war. This avoids the intermediate copying of the dependencies. It works, but I am unable to specify the proper location of the libs inside the resulting war/ear, as they have full paths like $HOME/.ivy2/cache/organisation/module/jars/foo-1.2.3.jar. Unfortunately the war/ear tasks do not take arguments. This is not really an Ivy problem, but I imagine other Ivy users have run into this. I'm considering writing a ZipFileSet extension to address this, but would prefer to use an existing solution if there is one. Thanks, L -- View this message in context: http://www.nabble.com/using-cachefileset-for-creating-war-files-without-staging-dir-tp15405054p15405054.html Sent from the ivy-user mailing list archive at Nabble.com.