: The problem is that you have an older jUnit version in your 
: $ANT_HOME/lib or ~/.ant/lib classpath. Please use a freshly and clean 
: installed ANT version (not one from your Linux distribution, those are 
: often cluttered with outdated stuff). Lucene needs no such libraries 
: like JUnit in classpath, as it downloads then via IVY automatically and 
: uses it locally. But if there are old versions already in the classpath, 
: it cannot do anything.

It occurs to me: can't we detect this early in the build and fail fast?

We dynamicly load junit from the ivy lib when we need it, but couldn't the 
"init" target use <available/> to check if junit is already defined and 
fail immediately with a clear error like the one Uwe included in his 
email?

-Hoss

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to