Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 60673 invoked from network); 27 Mar 2006 17:23:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 27 Mar 2006 17:23:08 -0000 Received: (qmail 81347 invoked by uid 500); 27 Mar 2006 17:23:04 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 81299 invoked by uid 500); 27 Mar 2006 17:23:04 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 81288 invoked by uid 99); 27 Mar 2006 17:23:03 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Mar 2006 09:23:03 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [199.237.51.194] (HELO green.rootmode.com) (199.237.51.194) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Mar 2006 09:23:03 -0800 X-ClientAddr: 68.171.62.46 Received: from [192.168.15.100] (68-171-62-46.vnnyca.adelphia.net [68.171.62.46]) by green.rootmode.com (8.12.10/8.12.10) with ESMTP id k2RHMCDX021338 for ; Mon, 27 Mar 2006 12:22:13 -0500 Mime-Version: 1.0 (Apple Message framework v746.3) In-Reply-To: <22d56c4d0603240516u6f6b5312l34ead1f0d52194cc@mail.gmail.com> References: <22d56c4d0603232358w5646401p594d3f3edc834599@mail.gmail.com> <22d56c4d0603240135s61eab5c7vb1977b372b956316@mail.gmail.com> <22d56c4d0603240516u6f6b5312l34ead1f0d52194cc@mail.gmail.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <5976A563-5138-410B-AB00-25C4032595DA@iq80.com> Content-Transfer-Encoding: 7bit From: Dain Sundstrom Subject: Re: FileSystemRepository not able to handle entry with version number which is a single digit. Date: Mon, 27 Mar 2006 08:53:33 -0800 To: dev@geronimo.apache.org X-Mailer: Apple Mail (2.746.3) X-RootMode-MailScanner-Information: Please contact the ISP for more information X-RootMode-MailScanner: Found to be clean X-MailScanner-From: dain@iq80.com X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Can you file a JIRA on this? IIRC this is a pattern taken directly from maven, so we may want to get them to patch it also. -dain On Mar 24, 2006, at 5:16 AM, Vamsavardhana Reddy wrote: > Settled with Pattern.compile("(.+)/(.+)s/(.+)-([0-9].*)\\.([^0-9] > +)") for now. > > -Vamsi > > On 3/24/06, Vamsavardhana Reddy wrote: > Pattern.compile("(.+)/(.+)s/(.+)-([^-]+)\\.([^0-9]+)") should do a > better job. > > -Vamsi > > > On 3/24/06, Vamsavardhana Reddy < c1vamsi1c@gmail.com> wrote: > I see the following in FileSystemRepository.java > > Pattern.compile("(.+)/(.+)s/(.+)-([0-9].+)\\.([^0-9]+)"); > > This reqular expression is not matching an entry like the following. > > group/jars/artifact-1.jar > > Here the version number is "1", a single digit. > >