Return-Path: Delivered-To: apmail-incubator-ivy-user-archive@locus.apache.org Received: (qmail 6562 invoked from network); 18 Dec 2007 14:30:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Dec 2007 14:30:22 -0000 Received: (qmail 3935 invoked by uid 500); 18 Dec 2007 14:30:08 -0000 Delivered-To: apmail-incubator-ivy-user-archive@incubator.apache.org Received: (qmail 3916 invoked by uid 500); 18 Dec 2007 14:30:08 -0000 Mailing-List: contact ivy-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ivy-user@incubator.apache.org Delivered-To: mailing list ivy-user@incubator.apache.org Received: (qmail 3891 invoked by uid 99); 18 Dec 2007 14:30:08 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Dec 2007 06:30:08 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of Jim.Adams@sas.com designates 149.173.6.153 as permitted sender) Received: from [149.173.6.153] (HELO mercav06.na.sas.com) (149.173.6.153) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Dec 2007 14:29:56 +0000 Received: from merchub02.na.sas.com ([10.19.20.25]) by mercav06.na.sas.com with InterScan Message Security Suite; Tue, 18 Dec 2007 09:29:47 -0500 Received: from MERCMBX14.na.sas.com ([10.19.20.124]) by merchub02.na.sas.com ([10.19.20.25]) with mapi; Tue, 18 Dec 2007 09:29:47 -0500 From: Jim Adams To: "ivy-user@incubator.apache.org" Date: Tue, 18 Dec 2007 09:29:45 -0500 Subject: RE: Artifact question Thread-Topic: Artifact question Thread-Index: AchBd0i0Maa8L6sVQ9K+t1DA/ppyfwACx7xw Message-ID: <15412A37E8C9574393B24ADD991FAA7608C4BD77AA@MERCMBX14.na.sas.com> References: <15412A37E8C9574393B24ADD991FAA7608C40CDA67@MERCMBX14.na.sas.com> <635a05060712180509u3b5704c1gb3296b78f7262581@mail.gmail.com> In-Reply-To: <635a05060712180509u3b5704c1gb3296b78f7262581@mail.gmail.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org Thanks. That is pretty much what I did. > -----Original Message----- > From: Xavier Hanin [mailto:xavier.hanin@gmail.com] > Sent: Tuesday, December 18, 2007 8:09 AM > To: ivy-user@incubator.apache.org > Subject: Re: Artifact question > > Not sure if the problem is solved, so here is what I'd do: > name=3D"NOTICE" ext=3D"" type=3D"notice" conf=3D"VJR"/> > And use a pattern like this: > whatever/[path]/[artifact](.[ext]) > > If you use the type in your pattern, then you may want to use a different > type, maybe empty. What is important is to use the parenthesis to tell Iv= y > that if a token is empty (here ext), the static text in the parenthesis > (here the dot before ext) should be ommitted too. > > Xavier > > On Dec 13, 2007 10:00 PM, Jim Adams wrote: > > > How do you specify an artifact that has no file extension? For instance= , > > I want to place a file in the repo called NOTICE (a rather common thing= to > > do). I could do something like this: > > > name=3D"NOTICE" conf=3D"VJR"/> > > > > Or > > > name=3D"NOTICE" conf=3D"VJR"/> > > > > But the default extension is jar. I am not sure how to say none. > > > > Jim Adams > > Jim.Adams@sas.com > > Principal Systems Developer > > SAS Institute > > > > > > > > > -- > Xavier Hanin - Independent Java Consultant > http://xhab.blogspot.com/ > http://ant.apache.org/ivy/ > http://www.xoocode.org/