From ivy-user-return-6841-apmail-ant-ivy-user-archive=ant.apache.org@ant.apache.org Tue May 25 16:20:27 2010 Return-Path: Delivered-To: apmail-ant-ivy-user-archive@www.apache.org Received: (qmail 81085 invoked from network); 25 May 2010 16:20:27 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 25 May 2010 16:20:27 -0000 Received: (qmail 40102 invoked by uid 500); 25 May 2010 16:20:27 -0000 Delivered-To: apmail-ant-ivy-user-archive@ant.apache.org Received: (qmail 39977 invoked by uid 500); 25 May 2010 16:20:26 -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 39968 invoked by uid 99); 25 May 2010 16:20:25 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 May 2010 16:20:25 +0000 X-ASF-Spam-Status: No, hits=0.9 required=10.0 tests=FREEMAIL_FROM,RCVD_NUMERIC_HELO,SPF_HELO_PASS,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of gcaii-ivy-user@m.gmane.org designates 80.91.229.12 as permitted sender) Received: from [80.91.229.12] (HELO lo.gmane.org) (80.91.229.12) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 May 2010 16:20:16 +0000 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OGwrE-0003V0-N0 for ivy-user@ant.apache.org; Tue, 25 May 2010 18:19:56 +0200 Received: from 82.109.240.194 ([82.109.240.194]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 25 May 2010 18:19:56 +0200 Received: from tom.widmer by 82.109.240.194 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 25 May 2010 18:19:56 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: ivy-user@ant.apache.org connect(): No such file or directory From: Tom Widmer Subject: Re: copy artifact to lib folder without version in file name Date: Tue, 25 May 2010 17:19:47 +0100 Lines: 25 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 82.109.240.194 User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) In-Reply-To: X-Virus-Checked: Checked by ClamAV on apache.org bruinseve@hotmail.com wrote: > Hello all, > I'm using ivy.jar directly(not ant->ivy). I think what I want to do should be simple. I want my artifacts, without version number in file name, to download the lib folder of my project. > > for example I have artifact in the repository: > repository/mycompany/myproject/myartifact/1.0/myindividualartifact.dll > > and I want to download it to > lib/mycompany/myproject/myindividualartifact.dll > > I'm able to find the artifact in the repository and download it (I set the lib folder to be my cache) but I haven't found a way to control the file output in the lib folder so I'm getting > lib/mycompany/mysystem/dlls/myindividualartifact-1.0.dll > > Is there an easy way to do this? Don't use the cache as your lib folder. Instead, do a retrieve: This copies the correct version of each artifact from your cache to the appropriate path (and performs an ivy:resolve first if you haven't already done it). Tom