On Sep 20, 2007, at 12:13 PM, Thorsten Scherler wrote:
On Wed, 2007-09-19 at 16:33 -0400, Ryan McKinley wrote:
Yonik Seeley wrote:
ant test from the command line is currently failing.

compileTests:
    [mkdir] Created dir: F:\code\solr\build\tests
    [javac] Compiling 66 source files to F:\code\solr\build\tests
[javac] F:\code\solr\client\java\solrj\test\org\apache\solr \client\solrj\Lar
geVolumeTestBase.java:27: package org.junit does not exist
    [javac] import org.junit.Assert;

-Yonik


hymm, must be a different version of JUnit in my classpath.

I just committed something that does not use the JUnit static
references, hopefully that will work for you.

Perhaps this is an argument for including JUnit or using ivy?
http://www.nabble.com/Using-ivy-for-dependency-management-- tf4396476.html#a12536854


Like I said if you want I can provide the ivy config files for solr, but
as I understand the answer from Erik to this proposal that maven2 is
more likely so I did not asked further.

IMHO ivy rocks and would perfectly overcome this problem without
cluttering the build files with jar versions.

I'm happy to see contributions both for Ivy and Maven2 based builds of Solr. I'm sure we can do it in a non-intrusive way to the current Ant build so that folks can try it out. With a patch and a wiki page with instructions that'd be good enough to get the ball rolling.

        Erik

Reply via email to