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

Uwe Schindler commented on SOLR-6926:
-------------------------------------

{source:xml}
    <exec executable="${common-solr.dir}/bin/solr" failonerror="true">
      <arg line="-e techproducts -p ${example.jetty.port} -m 
${example.heap.size} -d ${server.dir} -a '${example.jvm.line}'"/>
    </exec>
{source}

This is also likely to break on systems with whitespace. Never-ever use <arg 
line="..."/>. The correct way is multiple <arg value="..."/> elements for every 
parameter.

> "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: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to