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 8EE077A82 for ; Fri, 14 Oct 2011 21:02:18 +0000 (UTC) Received: (qmail 53242 invoked by uid 500); 14 Oct 2011 21:02:17 -0000 Delivered-To: apmail-ant-ivy-user-archive@ant.apache.org Received: (qmail 53200 invoked by uid 500); 14 Oct 2011 21:02:17 -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 53192 invoked by uid 99); 14 Oct 2011 21:02:17 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Oct 2011 21:02:17 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of citizenkahn@gmail.com designates 74.125.82.173 as permitted sender) Received: from [74.125.82.173] (HELO mail-wy0-f173.google.com) (74.125.82.173) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Oct 2011 21:02:10 +0000 Received: by wyh22 with SMTP id 22so3833781wyh.4 for ; Fri, 14 Oct 2011 14:01:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=Gil4x0RHdp/lxGGfIMpJFK18c0mLmjv3+uE1bqOY3Xc=; b=AEcvJD2rk5hiGagdo5Dx7pq6Xf8xWJdLjRThN77WbfCLgxl8woVdlKiQxHP7Uhl9ZL 5D6p6fIaBdp/G+7f4jjUtUUarqebfLXbFrIXtg9deTmYi2ru5rbGhE2NZQ1atsB0jqP2 HH/i7Cagi4r0+pR4sLsWxrR4rFNu5MPqlVSb0= MIME-Version: 1.0 Received: by 10.216.134.24 with SMTP id r24mr3212905wei.86.1318626110200; Fri, 14 Oct 2011 14:01:50 -0700 (PDT) Received: by 10.216.161.3 with HTTP; Fri, 14 Oct 2011 14:01:50 -0700 (PDT) In-Reply-To: References: Date: Fri, 14 Oct 2011 17:01:50 -0400 Message-ID: Subject: Re: Publication Question: reference globs in artifact list From: Peter Kahn To: ivy-user@ant.apache.org Content-Type: multipart/alternative; boundary=0016e6d77d7fe3dcbb04af489081 X-Virus-Checked: Checked by ClamAV on apache.org --0016e6d77d7fe3dcbb04af489081 Content-Type: text/plain; charset=ISO-8859-1 Thanks Archie. The problem I see is that the zip has a deep structure which ivy will want to flatten. So I think I'll push the unpack task off to the build script. It also let the user be in charge of where to store the contents too (for better or worse). Peter On Wed, Oct 5, 2011 at 11:09 AM, Archie Cobbs wrote: > I don't think there's any way to define "wildcard" artifacts. > > So either define a single large artifact that the user is required to > unpack, or else have the packager resolver unpack it. > > In the latter case, you must update the ivy.xml file (and possibly the > packager.xml file too) when a new version is added that contains different > artifacts. We do this all the time in Ivy RoundUp and it's not a big deal > unless the people publishing the thing are releasing and changing things > around like crazy. > > -Archie > > On Wed, Oct 5, 2011 at 9:50 AM, Peter Kahn wrote: > > > Hi all, > > > > Is the right approach for ivy modules with variable or unknown content to > > list an single archive file as a publications artifact and have the build > > expand it after the ivy retrieve? > > > > I'm trying to use ivy to deliver a 3rd part tool (NSIS installer) and > > ideally I'd like the ivy+packager fetch the zip, deliver it do the > > workspace > > and expand it. I can have packager expand the zip and deliver all items > I > > listed in the ivy module's publish section but this is fragile there are > > 50+ files and they may change over time. > > > > Is there a way to fee the artifact an ant glob / fileset or should I be > > handing an archive file to the subscribe build and have it's build.xml > > unzip > > it? > > > > Thanks > > > > Peter > > > > > > -- > > Peter Kahn > > citizenkahn@gmail.com > > http://www.google.com/profiles/citizenkahn > > Awareness - Intention - Action > > > > > > -- > Archie L. Cobbs > -- Peter Kahn citizenkahn@gmail.com http://www.google.com/profiles/citizenkahn Awareness - Intention - Action --0016e6d77d7fe3dcbb04af489081--