[
https://issues.apache.org/jira/browse/SOLR-6926?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14283131#comment-14283131
]
Shawn Heisey commented on SOLR-6926:
------------------------------------
bq. While running "ant server", I was somehow hoping it would start a "server",
which actually needs an "ant run-example" separately.
I don't think it should be possible to *start* Solr this way at all. The ant
program is a *build* tool. Once the server is built, the bin/solr script can
(and should) be used to start Solr.
SOLR-854 is where run-example was added, way back before 1.4 was released.
Although I think ant is the wrong place to start Solr, If
[[email protected]] thinks that we should have run-server, I won't stand
in the way. It should be its own issue, though.
> "ant example" makes no sense anymore - should be "ant server" (or refactored
> into some other compilation realted target)
> ------------------------------------------------------------------------------------------------------------------------
>
> Key: SOLR-6926
> URL: https://issues.apache.org/jira/browse/SOLR-6926
> Project: Solr
> Issue Type: Improvement
> Reporter: Hoss Man
> Assignee: Timothy Potter
>
> (filing as followup to a chat i had with tim offline the other day)
> the ant target "ant example" doesn't really make any sense anymore ... that
> name was created way, way, back when "ant compile" built up the dist/solr.war
> file that people were expected to "install" and "ant example" took care of
> copying that war file into the example/jetty directory
> these days, it should probably be named something like "ant server" or
> refactored inside an existing task like "ant compile"
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]