ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jerome Jar" <iusr....@gmail.com>
Subject Re: ant junit task...
Date Tue, 28 Aug 2007 03:40:12 GMT
Hi, Mayur,

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.

Regards,
Jerome.

On 8/28/07, mayurs <ssmayur@gmail.com> wrote:
>
> Hi All
>
> I have this Junit task in my build.xml file,
>
>         <junit>
>           <classpath refid="junit.run.id"/>
>           <formatter type="brief" usefile="false" />
>              <fileset dir="${junitclasses.dir}" includes="**/Test*.class"/>
>         </junit>
>
> The problem is this wilcard for includes above will run all 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? 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.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>


-- 
"Houston, we have a problem."

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message