: You can put it in the lib home and ant will find junit. I have it in my : project.
: I can submit a patch tomorrow if you want. I'm not sure which "lib home" you are talking about, but I'm certainly open to a patch that allows us to bundle junit we want so new developers don't have to get it themselves ... i tried doing this not too long ago when i read that <taskdefs> could speficy classpaths for finding the task -- it worked great forsome things (like PMD) but i couldn't get it to work with ant to save my life. : I am importing solr build scripts in my project and build it from my : project without problem because the junit.jar is in my classpath. As : soon I want to build solr directly I can't because the <fail ...> junit : check. (Note: even if we can't get a patch working that does this, this specific problem is easy to deal with: even if junit isn't in your ANT_LIB, you can always use ant's -lib option to do this too.) -Hoss