Thanks Jan, I am getting the error that the junit task doesn't support nested text data so I will have to play with it.
Thanks! On Wed, 1 Dec 2004 15:20:08 +0100, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > All tests I know are invoked via their source code. The Tutorial "Writing > Task" > in the manual [1] for example shows that. > > But let´s have a look in <junit>s Manual [2] ... > Not tested, but maybe that will work: > <junit> > <classpath> <fileset ...includeYouTestJar /> </classpath> > <test name="AllTests" todir="reports"/> > </junit> > <junitreport AsInTheExampleInTheManual [3] /> > > Jan > > [1] http://ant.apache.org/manual/tutorial-writing-tasks.html#TestingTasks > [2] http://ant.apache.org/manual/OptionalTasks/junit.html > [3] http://ant.apache.org/manual/OptionalTasks/junitreport.html > > > -----Ursprüngliche Nachricht----- > > Von: blackwater dev [mailto:[EMAIL PROTECTED] > > Gesendet am: Mittwoch, 1. Dezember 2004 15:09 > > An: Ant Users List > > Betreff: newbie-running junit task from jar file > > > > Hello, > > > > I took my junit classes and created a jar file which I want to run > > from ant. How do I use the junit task and specify where the jar file > > lives and to kick off with the AllTests class? I also need to use the > > html reporting also. Most of the samples I see simply call the basic > > class. > > > > Thanks! > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]