[jira] [Commented] (SOLR-10154) ant run-example fails to start due to missing solr.log.dir

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (SOLR-10154) ant run-example fails to start due to missing solr.log.dir

JIRA jira@apache.org

    [ https://issues.apache.org/jira/browse/SOLR-10154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15871704#comment-15871704 ]

Jan Høydahl commented on SOLR-10154:
------------------------------------

Another question is whether we should keep run-example at all, see discussions in SOLR-6926.

If the {{bin/solr start -e <example>}} command would support foreground mode {{-f}}, then it would be nice to be able to do {{ant run-example -Dexample=techproducts}} to compile, start in debug mode, index content in one go... Could we not support foreground mode for the examples by ending the example with starting a small script that tails the log and stops Solr on exit?

> ant run-example fails to start due to missing solr.log.dir
> ----------------------------------------------------------
>
>                 Key: SOLR-10154
>                 URL: https://issues.apache.org/jira/browse/SOLR-10154
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public)
>          Components: Build
>    Affects Versions: 6.4.1
>            Reporter: Jan Høydahl
>
> Running {{ant run-example}} fails to start. Problem is that this solr instance is not started using bin/solr and thus does not have proper variables such as {{solr.install.dir}} and {{solr.log.dir}}. Error output in next comment.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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