Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 79209 invoked from network); 28 Jan 2010 05:54:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 28 Jan 2010 05:54:59 -0000 Received: (qmail 92438 invoked by uid 500); 28 Jan 2010 05:54:59 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 92265 invoked by uid 500); 28 Jan 2010 05:54:56 -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 92251 invoked by uid 99); 28 Jan 2010 05:54:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Jan 2010 05:54:56 +0000 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: local policy) Received: from [193.109.238.66] (HELO dnsinet.rzf-nrw.de) (193.109.238.66) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Jan 2010 05:54:46 +0000 Received: from z011100.bk.fin.local (z011100.bk.fin.local [172.18.101.140]) by dnsinet.rzf-nrw.de (8.14.0/8.14.0) with ESMTP id o0S5sPXf011269 for ; Thu, 28 Jan 2010 06:54:25 +0100 Received: from z011101.bk.fin.local ([130.11.7.101]) by z011100.bk.fin.local with Microsoft SMTPSVC(6.0.3790.3959); Thu, 28 Jan 2010 06:54:25 +0100 Received: from z011021.bk.fin.local ([130.11.7.21]) by z011101.bk.fin.local with Microsoft SMTPSVC(6.0.3790.3959); Thu, 28 Jan 2010 06:54:25 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: AW: AW: Use the same in multiple tasks Date: Thu, 28 Jan 2010 06:54:25 +0100 Message-ID: <9EE86F1965E19E499C80DE52AC807B55051716F9@z011021.bk.fin.local> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: AW: Use the same in multiple tasks Thread-Index: Acqfa3DXrCKMymPwTwODBAofjpw1TwAcss9A References: <207913.3955.qm@web39805.mail.mud.yahoo.com> From: To: X-OriginalArrivalTime: 28 Jan 2010 05:54:25.0978 (UTC) FILETIME=[5917F9A0:01CA9FDE] X-Virus-Checked: Checked by ClamAV on apache.org Have you tried id+refid? ..... Jan=20 >-----Urspr=FCngliche Nachricht----- >Von: Dean Schulze [mailto:dean_w_schulze@yahoo.com]=20 >Gesendet: Mittwoch, 27. Januar 2010 17:11 >An: Ant Users List >Betreff: Re: AW: Use the same in multiple tasks > >Jan, >=A0 >I appreciate your response, but please do not accuse me of not=20 >researching this problem before posting.=A0 The example you=20 >posted does not address my problem, so please consider my=20 >question more thoroughly. >=A0 >The example you included from the manual has nested .../> and tags.=A0 That is what I want to avoid.=A0=20 >I don't want to repeat the and =20 >tags in multiple tasks. >=A0 >If I=A0define a structure=A0with a=A0 that has=20 >those=A0=A0 and tags the =20 >task fails because with the message that the=A0.java files in=20 >the =A0"is not a directory."=A0 The script showing this is below. >=A0 >Apparently the tag and the srcdir attribute have to=20 >refer to directories, whereas fileset (and the =20 >and tags) refer to files.=A0 That makes sense, but=20 >it still leaves my problem unsolved. >=A0 >How do I define a set of files to be used in =20 >external to the task? >=A0 >Here is the script: >=A0 > > > > >=20 > >=A0 > > > > > > > >=A0 >=A0 >=A0 >=A0 >=A0 > >--- On Tue, 1/26/10, Jan.Materne@rzf.fin-nrw.de=20 > wrote: > > >From: Jan.Materne@rzf.fin-nrw.de >Subject: AW: Use the same in multiple tasks >To: user@ant.apache.org >Date: Tuesday, January 26, 2010, 11:24 PM > > >Ok, you have read the manual >"This task forms an implicit FileSet and supports most=20 >attributes of (dir becomes srcdir) as well as the=20 >nested , and elements." > >But then - directly the next paragraph: >"'s srcdir, classpath, sourcepath, bootclasspath, and=20 >extdirs attributes are path-like structures and can also be=20 >set via nested (note the different name!), ,=20 >, and elements, respectively." > >And in the examples: > >is the same as the previous example, with the addition of a=20 >second source path, defined by the property src2. This can=20 >also be represented using nested elements as follows: > >=A0 =A0 =A0 =A0 =A0=A0=A0classpath=3D"xyz.jar" >=A0 =A0 =A0 =A0=A0=A0debug=3D"on"> >=A0 =A0 >=A0 =A0 >=A0 =A0 >=A0 =A0 >=A0 =A0 >=A0 > > > >Jan=20 > >>-----Urspr=FCngliche Nachricht----- >>Von: Dean Schulze [mailto:dean_w_schulze@yahoo.com]=20 >>Gesendet: Dienstag, 26. Januar 2010 20:45 >>An: user@ant.apache.org >>Betreff: Use the same in multiple tasks >> >>Instead of repeating and tags I=20 >>want to declare a once and use it in multiple >.../> tasks. >>=A0 >>The problem is that contains an implicit fileset=20 >>and does not allow the tag inside of it. >>=A0 >>Is there a way to include an external fileset in ? >> >> >>__________________________________________________ >>Do You Yahoo!? >>Tired of spam?=A0 Yahoo! Mail has the best spam protection around=20 >>http://mail.yahoo.com=20 >> > >--------------------------------------------------------------------- >To unsubscribe, e-mail: user-unsubscribe@ant.apache.org >For additional commands, e-mail: user-help@ant.apache.org > > > > > =20 > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org