[ 
https://issues.apache.org/jira/browse/SOLR-2299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Muir updated SOLR-2299:
------------------------------

    Attachment: SOLR-2299.patch

I'm sure this isn't perfect, for example contrib tests and tests that use the 
example configuration likely won't work.

But I think the majority of tests seem to work this way out of box if you add 
src/test/test-files to your classpath (right click src/test/test-files, 
Build->Add to Build Path)

> improve test-running from eclipse
> ---------------------------------
>
>                 Key: SOLR-2299
>                 URL: https://issues.apache.org/jira/browse/SOLR-2299
>             Project: Solr
>          Issue Type: Test
>          Components: Build
>            Reporter: Robert Muir
>             Fix For: 3.1, 4.0
>
>         Attachments: SOLR-2299.patch
>
>
> In eclipse, its currently difficult to get a solr development environment 
> working.
> One big thing that would help would be to make it easier to run the tests.
> When loading resources, if we checked the config dir + file directory from 
> the resource path,
> then users could simply add src/test/test-files to their eclipse build 
> classpath, and tests would just work from the IDE.
> I gather that this might make things easier for other IDEs too, though I'm 
> aware that ones like Intellij
> let you configure the test 'working directory' on a project basis, but 
> eclipse doesn't 
> (you have to make a custom run configuration every time you run the tests)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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

Reply via email to