I have been working on SOLR-2299 because there is basically no way to
run the solr tests from an eclipse IDE without hacks or changing your
CWD each time.

Anyway, the ant build system now works instead by putting test
resources into the classpath (like lucene's). So if you are using an
IDE or some custom python script you wrote or something else, you
might have to change your configuration instead of changing your CWD
to src/test/test-files or whatever it is for the various contribs. You
can set the CWD to whatever you want (the default, or ideally
something not located under source control like your build directory).

For reference in the eclipse configuration this consists of adding the
following to your classpath (source folders):
solr/src/test/test-files,
solr/contrib/analysis-extras/src/test/test-files,
solr/contrib/clustering/src/test/resources,
solr/contrib/dataimporthandler/src/test/resources,
solr/contrib/dataimporthandler/src/extras/test/resources,
solr/contrib/extraction/src/test/resources

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

Reply via email to