Return-Path: X-Original-To: apmail-ant-ivy-user-archive@www.apache.org Delivered-To: apmail-ant-ivy-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9758D18F05 for ; Wed, 4 Nov 2015 09:21:44 +0000 (UTC) Received: (qmail 1142 invoked by uid 500); 4 Nov 2015 09:21:44 -0000 Delivered-To: apmail-ant-ivy-user-archive@ant.apache.org Received: (qmail 1106 invoked by uid 500); 4 Nov 2015 09:21:44 -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 1093 invoked by uid 99); 4 Nov 2015 09:21:44 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Nov 2015 09:21:44 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id ACF42C0E22 for ; Wed, 4 Nov 2015 09:21:43 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.879 X-Spam-Level: ** X-Spam-Status: No, score=2.879 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id 1Zjt-s-jq-n7 for ; Wed, 4 Nov 2015 09:21:42 +0000 (UTC) Received: from mail-wm0-f45.google.com (mail-wm0-f45.google.com [74.125.82.45]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id 90E3020B91 for ; Wed, 4 Nov 2015 09:21:41 +0000 (UTC) Received: by wmff134 with SMTP id f134so36101378wmf.0 for ; Wed, 04 Nov 2015 01:21:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=lrhO3Dp/MySzqK6k50CzFZGRMvb8fAIlsKTFmKLmpj0=; b=iXXm9FC3WdWlG8YowL2sCkOlqVN6rKU6UxaJ9MWlAi9WQMnlv8LnivEIS6A9svQdVC CzgSSjZpPCAT1g5SZCqKEP0vZnOZnFMMr+9vUTpBBPCZrr2JNfUVCsYvaXmJ18ZsH+AJ hdPQTODpTpWGqF2ZuXFkQrUyCUhGl016SmpqzHGLC+bn7tTgnmO0oqek6DqHFi2qOgr3 qKc+Bc1VKX6xf6eWKv9h76EX0PfEGRHPPfq/0E3ihM2LnaRuiZfexkNPm+9VeshNxDVe GKaZWuiVjbIh0ccL1wUzdZKGHW10QfYyIAwcVeTVpOhFlhBiKsynkSoG8MRE3FYoZpR5 6x0w== MIME-Version: 1.0 X-Received: by 10.28.15.196 with SMTP id 187mr25709096wmp.34.1446628901301; Wed, 04 Nov 2015 01:21:41 -0800 (PST) Received: by 10.194.24.197 with HTTP; Wed, 4 Nov 2015 01:21:41 -0800 (PST) In-Reply-To: References: Date: Wed, 4 Nov 2015 17:21:41 +0800 Message-ID: Subject: Re: IVY retrieve best use practice? From: Jammy Chen To: ivy-user@ant.apache.org Content-Type: multipart/alternative; boundary=001a1146eea2c8b53a0523b389cf --001a1146eea2c8b53a0523b389cf Content-Type: text/plain; charset=UTF-8 Thanks Marc. Anybody else have suggest? Jammy 2015-11-04 15:59 GMT+08:00 Marc De Boeck : > We are using the second approach: use Ivy classpath to compile. > For me it is the most efficient and elegant way to work with Ivy and the > Ivy-cache. > > Regards, > Marc > > > > 2015-11-04 7:46 GMT+01:00 Jammy Chen : > > > Hello IVY users/developers, > > > > I am now immigrating my project to with IVY libraries dependency > > management, I have built our shared repository, in regarding of how to > > retrieve the libs from shared repository and put into use, I have below > two > > approaches I am just asking you guys experts what's the best practice and > > make sense more in generic. > > > > 1. Use ivy retrieve task to make a copy of libs into project folder from > > repository, in Ant build script, we will use these libs as classpath to > > compile, re-org them and finally package as war/ear > > this will leads less dependency with IVY once we retrieved the libs, but > we > > will have several copy of these libs e.g. in cache, project folder and > > shared repository. > > > > 2. Use IVY cachepath as for compile target, once compiled then use ivy > > retrieve task to retrieve the lib to package as war/ear, this sounds that > > compile and distribute will be in different term, but need more changes > in > > build xml that more depends IVY cachepath. > > > > What the best practice should be? > > > > Thanks. > > > --001a1146eea2c8b53a0523b389cf--