Return-Path: X-Original-To: apmail-ant-user-archive@www.apache.org Delivered-To: apmail-ant-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 57333D39E for ; Sat, 1 Dec 2012 21:03:27 +0000 (UTC) Received: (qmail 43231 invoked by uid 500); 1 Dec 2012 21:03:25 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 43196 invoked by uid 500); 1 Dec 2012 21:03:25 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 43187 invoked by uid 99); 1 Dec 2012 21:03:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Dec 2012 21:03:25 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of mgainty@hotmail.com designates 65.55.111.152 as permitted sender) Received: from [65.55.111.152] (HELO blu0-omc4-s13.blu0.hotmail.com) (65.55.111.152) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Dec 2012 21:03:16 +0000 Received: from BLU172-W32 ([65.55.111.136]) by blu0-omc4-s13.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Sat, 1 Dec 2012 13:02:55 -0800 X-Originating-IP: [74.104.173.229] X-EIP: [1W+oyRGlP3nyex8FZJwezg9S7QlWW0iC] X-Originating-Email: [mgainty@hotmail.com] Message-ID: Content-Type: multipart/alternative; boundary="_918f06c5-1627-4139-9611-76b38186bb65_" From: Martin Gainty To: Ant Users List Subject: RE: Correct configuration for reading a list into a Java class Date: Sat, 1 Dec 2012 16:02:55 -0500 Importance: Normal In-Reply-To: References: ,,, MIME-Version: 1.0 X-OriginalArrivalTime: 01 Dec 2012 21:02:55.0715 (UTC) FILETIME=[3C364330:01CDD007] X-Virus-Checked: Checked by ClamAV on apache.org --_918f06c5-1627-4139-9611-76b38186bb65_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable > From: mgainty@hotmail.com > To: user@ant.apache.org >with
=20 it appears that a upstream entity is concatenating 2 folder names (instead = of one) into your dir attribute ${gora.avsc.dir} =20 so when ${gora.avsc.dir} is referenced during a file read an IO error occurs=20 The file to be read is expecting an absolutepath constructed of 1 directory= concatenated with 1 individual file we'll need a way to display the contents of the input directory ${gora.avsc.dir} before ${gora.avsc.dir} is referenced in fileset and consequent uses of ${g= ora.avsc.dir} downstream (e.g. patternset)=20 so i would advise sprinkling echo statements before each taskdef entity to = determine who is putting in 2 folder names instead of 1 e.g. ${gora.avsc.dir} Martin Date: Sat=2C 1 Dec 2012 17:56:40 +0000 > > Subject: Re: Correct configuration for reading a list into a Java class > > From: lewis.mcgibbney@gmail.com > > To: user@ant.apache.org > >=20 > > Hi Martin=2C > >=20 > > Thanks for the reply=2C much appreciated. > >=20 > > On Sat=2C Dec 1=2C 2012 at 4:58 PM=2C Martin Gainty wrote: > > > > > > Good Afternoon Lewis >=20 > > I am working with this [0] directory and the two files within=2C so I > > hope that I am using the correct attribute. Would you been good enough > > to review and comment please? > > > > > > if your goal is to aggregate files from 2 folders from different root= syou *may* wish to consider implementing a project based http://= ant.apache.org/manual/Types/selectors.html#selectcontainers cheers=2C > >=20 > > I don't think this is the case. In [0] we have 1 folder containing >1 > > file. This could be added to in the future. > >=20 > > Thanks again > >=20 > > LEwis > >=20 > > [0] https://svn.apache.org/repos/asf/nutch/branches/2.x/src/gora/ > >=20 > > --------------------------------------------------------------------- > > To unsubscribe=2C e-mail: user-unsubscribe@ant.apache.org > > For additional commands=2C e-mail: user-help@ant.apache.org > >=20 > =20 = --_918f06c5-1627-4139-9611-76b38186bb65_--