Do you have a copy of optional.jar in your \ant\lib directory?
-----Original Message-----
From: Spencer A Marks [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 05, 2001 6:47 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: JUnit example request
Sorry to be punishing your quick reply with another question, but
could you explain what this means to me:
build.xml:221: Could not create task of type: junit because I can't find it
in the list of task class definitions. Common solutions are: 1 execute
bin/bootstrap. 2 use taskdef to declare your task. 3 add the task to
defaults.properties.
Thanks, Spencer
"Royston McNeill" <[EMAIL PROTECTED]> writes:
> Here's an example of a JUnit compilation/test phase build.xml. I use the
> "junit" optional taks include in the optional.jar provide by Jakarta. The
> results from the build produce an XML file that I feed to an HTML file for
> other developers. Enjoy!