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 377B010972 for ; Wed, 29 Jan 2014 07:50:50 +0000 (UTC) Received: (qmail 74753 invoked by uid 500); 29 Jan 2014 07:50:49 -0000 Delivered-To: apmail-ant-ivy-user-archive@ant.apache.org Received: (qmail 74350 invoked by uid 500); 29 Jan 2014 07:50: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 74324 invoked by uid 99); 29 Jan 2014 07:50:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Jan 2014 07:50:38 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of mdeboec@gmail.com designates 209.85.216.172 as permitted sender) Received: from [209.85.216.172] (HELO mail-qc0-f172.google.com) (209.85.216.172) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Jan 2014 07:50:33 +0000 Received: by mail-qc0-f172.google.com with SMTP id c9so2239968qcz.31 for ; Tue, 28 Jan 2014 23:50:13 -0800 (PST) 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 :content-type; bh=b+sHv98Kp+VO3PyTX2SpYrvkdI554o+3T1P1JjgY/Lc=; b=m+Oept4OqC6t04B/IWHH6MTePAzGl44+0YvXraiafVnC+/AzFn2skEfI4+5lJ7IMlB +apn9ZE+T8+o4r9DuL3hKffmA3kWL9xcJY1FZUMyyFbEHQUbKz09a51WC9ZbU5aRC/Kd A+pNebX5PYxwPlsEPhM+SzXs1jZT7cuMH1rH7+5lNgLweuwt2/gchZHr8GLvIGepotBy Wgzo2pdZdPriTFNL1CQAWmis0NsUcpvBjh9UphrpULPrUZKFSeviEbBnbZQZ8V8oQ2TR 1kMcJvcybEsxWkOyjeJI1VdqlAcwfQQ7hOc+w5GxkqZ2pp29wlwSW67WshgUDqSCubTD 7Aqg== X-Received: by 10.140.20.17 with SMTP id 17mr9177456qgi.28.1390981813075; Tue, 28 Jan 2014 23:50:13 -0800 (PST) MIME-Version: 1.0 Received: by 10.229.176.10 with HTTP; Tue, 28 Jan 2014 23:49:53 -0800 (PST) In-Reply-To: References: From: Marc De Boeck Date: Wed, 29 Jan 2014 08:49:53 +0100 Message-ID: Subject: Re: How to publish additional metadata with an artifact that is needed at retrieve time To: ivy-user@ant.apache.org Content-Type: multipart/alternative; boundary=001a11c124f6db9e1204f117303b X-Virus-Checked: Checked by ClamAV on apache.org --001a11c124f6db9e1204f117303b Content-Type: text/plain; charset=ISO-8859-1 Maybe, you can add a buildfile to the package that your publishing ? When you retrieve that package, you can unzip it and execute the included buildfile to do what needs to be done with that package. That buildfile can also read the property file. Or you might also publish your packages in a package format that is known by a package manager (e.g. rpm, debian-packages when you are on linux). Regards, Marc 2014-01-28 KARR, DAVID > I'm trying to envision how I can use Ivy for ATG Dynamo module > dependencies. > > For background, retrieving a dependent ATG module requires getting the > lib, config, and manifest pieces and copying them into a directory in your > local ATG tree with a directory name dependent on the artifact you're > retrieving. The directory name to use is available in a properties file > that is available when the module is built. > > I'm ok with the separate "lib, config, and manifest" pieces, because all > of those are packaged in a single "build" directory when building the > module. > > However, when retrieving this artifact, I'm unsure how to deal with > knowing what directory in the ATG tree to unzip (not to mention knowing to > unzip, not just to copy) the artifact to. This information is available > when building the module, so it can be available when publishing. > > I suppose I could publish an additional file in the zip file which is the > properties file used in the build of the module. My task which retrieves > the artifact could first retrieve the zip, unpack it into a temp directory, > read the properties file that I unpacked, and then copy in everything but > the properties file into the target directory. > > I know that most of you won't be familiar with ATG Dynamo, but does any of > this make sense? > --001a11c124f6db9e1204f117303b--