[
https://issues.apache.org/jira/browse/SOLR-6900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14275891#comment-14275891
]
Timothy Potter commented on SOLR-6900:
--------------------------------------
Also, seems like the script assumes it's launched from the Solr tip ... running
it from within the bin directory gives:
{code}
[~/dev/lw/projects/branch_5x/solr/bin]$ ./post
Collection:
Data mode: FILE
/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/bin/java
-classpath dist/solr-core-*.jar -Dc= -Dauto=yes
org.apache.solr.util.SimplePostTool
Error: Could not find or load main class org.apache.solr.util.SimplePostTool
{code}
> bin/post improvements needed
> ----------------------------
>
> Key: SOLR-6900
> URL: https://issues.apache.org/jira/browse/SOLR-6900
> Project: Solr
> Issue Type: Bug
> Affects Versions: 5.0, Trunk
> Reporter: Erik Hatcher
> Assignee: Erik Hatcher
> Fix For: 5.0, Trunk
>
>
> * Fix glob patterns. They don't work as expected: bin/post collection1
> \*.xml expands \*.xml such that the script gets all the file names as
> parameters not just literally "\*.xml"
> * Add error handling to check that the collection exists
> * Create Windows version
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]