Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id F1671200B33 for ; Wed, 29 Jun 2016 22:16:56 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id EFEBE160A57; Wed, 29 Jun 2016 20:16:56 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 43420160A3C for ; Wed, 29 Jun 2016 22:16:56 +0200 (CEST) Received: (qmail 10470 invoked by uid 500); 29 Jun 2016 20:16:54 -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 10457 invoked by uid 99); 29 Jun 2016 20:16:54 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Jun 2016 20:16:54 +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 2A37DC00EA for ; Wed, 29 Jun 2016 20:16:54 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.179 X-Spam-Level: * X-Spam-Status: No, score=1.179 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, 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-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id 2Pi1DBus_zQV for ; Wed, 29 Jun 2016 20:16:52 +0000 (UTC) Received: from mail-it0-f54.google.com (mail-it0-f54.google.com [209.85.214.54]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 1DAE35FB5B for ; Wed, 29 Jun 2016 20:16:52 +0000 (UTC) Received: by mail-it0-f54.google.com with SMTP id g127so128056739ith.0 for ; Wed, 29 Jun 2016 13:16:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=xSWSX5i3yAUTbxPmC5++1hEhARWMI7EJtLDiL0TA/G8=; b=fDxHv4HFTxumrmFY5Zyqe44b6egASx28+hFHIf0KtkdlEwYXSqww3Y+KPq+CnhC8FF NIp4k9HXs2mLzBBcfO6Hmmt65zo/F00+MwoAhZqjoQTTAEPJTFrBZPImnyTD2/lvAPAZ AdDWTaHUx1q1CywR3zbX+tKygUirvHj8xFxc6sIj5q042Tb8RhSuaZnL5Vh8xIluBngH NQDIhK9Dzc9K+DK5/EVRwGphTiKB3qIAcoH8ovnkos5lAZTeoSCjJ8XF48fY7pSCPGO7 +tfYaQvLZV7GO0PRrAtdk4NVZkD8dDCZDbIb7vUUqgNmTgmpDpHU2UZt9UFMtefgwoKw ETiA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=xSWSX5i3yAUTbxPmC5++1hEhARWMI7EJtLDiL0TA/G8=; b=YTHDkIpNN76gcDn43vdloF3mUKVQcn2DOmujteswLh9lkdisFN1diL7pkX9jNPcuFc icI03xGKVlXD9clMm4wsChEYrMkQfqIduDw3P9FrjRiF+E1oT+9AwuOAUYkjV4XEoALk eDcVGBo59G8e20uCNe+bv5PKMqOZpwutE6/rCwUckNy/oe18MEwCc20HRvqQFbFeKlkA z6Cqdbw2eBE5PtFp68LOgur05kdknyWFgX8yOoBgnsWO7+zGPXdrvMiV4JTLH61sdUDi +a6f8ZV7vBvn8qdaXTeV/ujBBUekqCoB3PDM1N7rtbAwSKhYalL2Wvpl9ROa8lHn+Q0Z stAw== X-Gm-Message-State: ALyK8tIJ6HfsAm0lRX6OYZ9PfUAFxux5xb+LgYp7L7AiXBBCzjTD1C6jiP9RyeteKuTHvQ3rjijot4DowpPjEw== X-Received: by 10.36.138.65 with SMTP id v62mr21103017itd.51.1467231405294; Wed, 29 Jun 2016 13:16:45 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.20.12 with HTTP; Wed, 29 Jun 2016 13:16:25 -0700 (PDT) In-Reply-To: References: From: Marc De Boeck Date: Wed, 29 Jun 2016 22:16:25 +0200 Message-ID: Subject: Re: Packaging attribute, unpack location To: ivy-user@ant.apache.org Content-Type: multipart/alternative; boundary=94eb2c08eeb0b74b750536706e35 archived-at: Wed, 29 Jun 2016 20:16:57 -0000 --94eb2c08eeb0b74b750536706e35 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Can you tell us the cache pattern that you have configured ? Maybe you can also try to retrieve the same artifacts but with a module descriptor (ivy-file) where the packaging attribute is not set. This way, you could find out if it is related to the packaging attribute, or related to something else. Regards, Marc 2016-06-29 21:22 GMT+02:00 Jeremie Faucher-Goulet < Jeremie.Faucher-Goulet@trilliantinc.com>: > Hello, > > > > I=E2=80=99m encountering an issue where, when using a different configura= tion for > the same artifact during a retrieve operation, the artifact is downloaded > but the wrong artifact is copied in my project. > > Is it a limitation of the automatic unpacking (zip file in my case) not > keeping the extra attributes? I=E2=80=99m new to Ivy so there might be a > configuration option I haven=E2=80=99t found yet. > > > > For example, I=E2=80=99m using a custom pattern for the Ivy cache so I ca= n get the > different configuration downloaded and a similar custom pattern for the > retrieve itself so I can get these different artifacts in my project. > However, calling retrieve with a different configuration does create a ne= w > folder in my project (retrieve pattern), but it=E2=80=99s content is the = same as > with the previous configuration. > > Looking in the Ivy cache, I see that the download did create a new > (proper) artifact in my cache according to my custom cache pattern, but t= he > same folder was used (and not overridden) for unpacking. > > > > It seems whatever pattern I set, the unpacking location will happen here > in the cache: [organisation]/[module]/[revision]/[artifact]-[revision]/* > > > > My assumption currently, is that Ivy will find the same unpacking locatio= n > so will skip the unpacking step. Retrieve will then copy over a > dirty/invalid version of what was unpacked. Are my assumptions correct? > > > > Is there a way to configure the unpacking location, if my understanding o= f > the issue is correct? > > > > P.S. I=E2=80=99m using configuration to differentiate different native C/= C++ > builds (x86, arm, etc=E2=80=A6) Perhaps I=E2=80=99m not using the proper = approach? > > > > Thank you, > > > > [image: Description: cid:image001.jpg@01C9B6D4.5B951A30] > > Jeremie Faucher-Goulet, Jr. Eng. > Firmware Developer > Trilliant Inc > Tel: 450.375.0556 ext. 368 > jeremie.faucher-goulet@trilliantinc.com > > www.trilliantinc.com > > > > > --94eb2c08eeb0b74b750536706e35--