Return-Path: Delivered-To: apmail-buildr-users-archive@www.apache.org Received: (qmail 99522 invoked from network); 15 Jul 2009 17:22:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 15 Jul 2009 17:22:32 -0000 Received: (qmail 29630 invoked by uid 500); 15 Jul 2009 17:22:41 -0000 Delivered-To: apmail-buildr-users-archive@buildr.apache.org Received: (qmail 29590 invoked by uid 500); 15 Jul 2009 17:22:41 -0000 Mailing-List: contact users-help@buildr.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@buildr.apache.org Delivered-To: mailing list users@buildr.apache.org Received: (qmail 29580 invoked by uid 99); 15 Jul 2009 17:22:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Jul 2009 17:22:41 +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 [80.190.253.131] (HELO mail.baseserver.net) (80.190.253.131) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Jul 2009 17:22:30 +0000 Received: from [192.168.1.3] (c156137.adsl.hansenet.de [213.39.156.137]) by mail.baseserver.net (Postfix) with ESMTP id 14B3E9B275 for ; Wed, 15 Jul 2009 19:22:08 +0200 (CEST) Subject: Re: findbugs uses a reserved word for a child element - trying to invoke "class" method From: Martin Grotzke To: users@buildr.apache.org In-Reply-To: <5c99d0330907141712g6e63ab91l10b5063263adb5@mail.gmail.com> References: <1247616542.3818.52.camel@localhost.localdomain.tld> <5c99d0330907141712g6e63ab91l10b5063263adb5@mail.gmail.com> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-C9qNIJXgzNX3+IsSnrsa" Date: Wed, 15 Jul 2009 19:22:09 +0200 Message-Id: <1247678529.6775.23.camel@localhost.localdomain.tld> Mime-Version: 1.0 X-Mailer: Evolution 2.26.2 (2.26.2-1.fc11) X-Virus-Checked: Checked by ClamAV on apache.org --=-C9qNIJXgzNX3+IsSnrsa Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Great, that did the trick! Cheers, Martin On Tue, 2009-07-14 at 19:12 -0500, Daniel Spiewak wrote: > Try calling method_missing directly: >=20 > ant.method_missing :class, :location =3D> 'foo' >=20 > Daniel >=20 > On Tue, Jul 14, 2009 at 7:09 PM, Martin Grotzke < > martin.grotzke@javakaffee.de> wrote: >=20 > > Hi, > > > > findbugs requires a nested element "class" that indicates, which classe= s > > shall be analyzed. > > > > When I try to specify this class property via > > ant.class :location=3D>'foo' > > this of course fails. > > > > Is it somehow possible to solve this issue? (Perhaps ruby as a dynamic > > language can now score :)) > > > > (I already tried s.th. like "ant.send :class ..." but without success - > > probably that was just too naive :)) > > > > Thx && cheers, > > Martin > > > > > > --=-C9qNIJXgzNX3+IsSnrsa Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEABECAAYFAkpeEEEACgkQ7FvOl7Te+pb3hACfQZ0W2Au4k1v1l3Pc5AWYWK1m hmwAn2o7jkvfd91I0fH2HvWSm7n9XKqC =621T -----END PGP SIGNATURE----- --=-C9qNIJXgzNX3+IsSnrsa--