BTW, including the junit.jar in the <junit> target classpath and forking
<junit> didn't sort this?
Kevin Conner wrote:
Tom Fennelly wrote:
> Kurt just pointed something out to me re those "runant" macros. Are
> these at the root of our problem re builds taking forever because
> targets are running multiple times? I saw these a few weeks back and
> was wondering why they were necessary but was afraid to ask at the time
> :-) Well, anyone know what these are about?
>
Yes, the runant macros are there to make sure that the build has the
correct classpath (notably including junit) so that you can just run ant
and 'it will work (tm)'.
It is only supposed to be used in the public targets so dependencies
should not be using those.
Kev
--
Red Hat:
Registered Address: Red Hat Ltd, Brian O' Donnell and Partners, 62 Merrion Square,
Dublin 2, Ireland.
Registered in the Companies Registration Office, Parnell House, 14 Parnell Square, Dublin
1, Ireland, at No. 304873
Directors: Charlie Peters (USA), Michael Cunningham (USA). David Owens, Brendan Lane