Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 98455 invoked from network); 29 Aug 2007 14:31:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Aug 2007 14:31:37 -0000 Received: (qmail 90988 invoked by uid 500); 29 Aug 2007 14:31:28 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 90952 invoked by uid 500); 29 Aug 2007 14:31:28 -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 90941 invoked by uid 99); 29 Aug 2007 14:31:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Aug 2007 07:31:28 -0700 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Aug 2007 14:31:24 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1IQOZT-0003mn-Lg for user@ant.apache.org; Wed, 29 Aug 2007 07:31:03 -0700 Message-ID: <12388322.post@talk.nabble.com> Date: Wed, 29 Aug 2007 07:31:03 -0700 (PDT) From: mayurs To: user@ant.apache.org Subject: Re: AW: ant junit task... In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Nabble-From: ssmayur@gmail.com References: <12359955.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org I also tried excludes=3D"**/*$*.class, same result, it includes the inner classes as well , due to the includes attribute Jan.Materne wrote: >=20 > first thought: the missing * before the $ in your exclude clause.=20 >=20 > excludes=3D"**/*$*.class"/> >=20 >=20 >=20 > Jan >=20 >>-----Urspr=C3=BCngliche Nachricht----- >>Von: mayurs [mailto:ssmayur@gmail.com]=20 >>Gesendet: Dienstag, 28. August 2007 18:55 >>An: user@ant.apache.org >>Betreff: Re: ant junit task... >> >> >>I know of the excludes attribute the issue, is, lets say I have a class >>TestFoo.class and TestFoo$abc.class >> >>I am only concerned about running TestFoo.class , but if I have this, >> >>>excludes=3D"**/$*.class"/> >> >>This does not work, since includes attribute, above will=20 >>include the inner >>class as well, so excludes attribute does not work >> >> >>tx >>Mayur >> >> >>Jerome Jar-2 wrote: >>>=20 >>> Hi, Mayur, >>>=20 >>> I think you can make use of the "excludes" attribute of the fileset. >>> Inner classes have at least one "$" marks in the names of their class >>> files. >>>=20 >>> Regards, >>> Jerome. >>>=20 >>> On 8/28/07, mayurs wrote: >>>> >>>> Hi All >>>> >>>> I have this Junit task in my build.xml file, >>>> >>>> >>>> >>>> >>>> >>> includes=3D"**/Test*.class"/> >>>> >>>> >>>> The problem is this wilcard for includes above will run all=20 >>Junit Test >>>> classes that I have , including some inner class. >>>> >>>> How do I tell Junit ant task, to skip inner classes from a specific >>>> directory? >>>> >>>> I read somewhere that junit 4.4 has some support for this?=20 >>Can someone >>>> let >>>> me know how to skip inner classes from being run by junit ant task? >>>> >>>> tx >>>> Mayur >>>> -- >>>> View this message in context: >>>> http://www.nabble.com/ant-junit-task...-tf4339046.html#a12359955 >>>> Sent from the Ant - Users mailing list archive at Nabble.com. >>>> >>>> >>>>=20 >>--------------------------------------------------------------------- >>>> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org >>>> For additional commands, e-mail: user-help@ant.apache.org >>>> >>>> >>>=20 >>>=20 >>> --=20 >>> "Houston, we have a problem." >>>=20 >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org >>> For additional commands, e-mail: user-help@ant.apache.org >>>=20 >>>=20 >>>=20 >> >>--=20 >>View this message in context:=20 >>http://www.nabble.com/ant-junit-task...-tf4339046.html#a12371822 >>Sent from the Ant - Users mailing list archive at Nabble.com. >> >> >>--------------------------------------------------------------------- >>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 >=20 >=20 >=20 --=20 View this message in context: http://www.nabble.com/ant-junit-task...-tf433= 9046.html#a12388322 Sent from the Ant - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org