On 2010-11-30 19:07, Erick Erickson wrote:

> And on the subject of code: I just rebuilt the IDEA projects. Running
> SolrPluginUtilsTest tests from within the IDE gives:
> 
> java.lang.RuntimeException: java.lang.RuntimeException: Can't find
> resource 'solrconfig.xml' in classpath or 'solr/conf/', cwd=C:\apache_trunk
> 
> Does anyone have the magic readily available to fix this so I don't have
> to flounder? I can run the test from outside IntelliJ via ant just fine.

In Eclipse you need to add a parent folder that contains test resources
(solrconfig.xml etc) to your classpath, as a "class folder". I assume
IDEA has something similar.



-- 
Best regards,
Andrzej Bialecki     <><
 ___. ___ ___ ___ _ _   __________________________________
[__ || __|__/|__||\/|  Information Retrieval, Semantic Web
___|||__||  \|  ||  |  Embedded Unix, System Integration
http://www.sigram.com  Contact: info at sigram dot com


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

Reply via email to