On Mon, Apr 08, 2002 at 02:41:37PM +0200, Carsten Ziegeler wrote:
> Hi,
> 
> I just tested the new system with a fresh check-out, now changes,
> my great vanilla ant and a simple looking "ant" typed into the windows
> shell.
> And guess what happens:
>           .----------------------------------------------------------------.
>           | CLASS NOT FOUND                                                |
>           |                                                                |
>           | Can't find class: junit.framework.Test
>           |----------------------------------------------------------------|
>           | Error when building module:                                    |
>           | D:\sunshine\jakarta-avalon-excalibur\collections
>           |                                                                |
>           | A jar containing class:                                        |
>           |   junit.framework.Test
>           | must be in your classpath or Ant lib directory                 |
>           |   ${ant.home}/lib
>           | Typically it is in a jar called:                               |
>           |   junit.jar
>           '----------------------------------------------------------------'
>
> I thought junit is optional or do I still have to create my ant.properties
> file?

Ant is needed to compile the junit tests, even if you don't intend to
run the tests (for that you need junit.jar in your ${ant.home}/lib}). We
could break the test compilation into a separate target if you think
it's an issue?


--Jeff

> Carsten

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to