[
https://issues.apache.org/jira/browse/SOLR-8929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15248533#comment-15248533
]
Steve Rowe commented on SOLR-8929:
----------------------------------
bq. If you have the right classpath setup in IntelliJ
Looks like the included run configuration only includes the new {{server}}
module's classpath, which doesn't have any dependencies other than
{{start.jar}}?
When I run the {{solrcloud}} run configuration, I get
{{java.io.FileNotFoundException:
/Users/sarowe/git/lucene-solr/solr/server/solr-webapp/webapp}} - so I'm not
sure what the benefit of this over {{bin/solr}} is? That is, you still have to
use the ant build to populate {{server/solr-webapp/webapp}}.
Are you planning to flesh this out more? I think it's possible, with the right
module dependencies, and maybe also making the build/run location under
{{idea-build/solr/server/}}, to get a setup that will use IntelliJ's build
artifacts.
bq. I'm not sure how to create collections... I think I need to get the
configset examples into ZK somehow?
Maybe a bootstrapping task to run SolrCLI's ZK upconfig?
> Add an idea module for solr/server to enable launching start.jar
> ----------------------------------------------------------------
>
> Key: SOLR-8929
> URL: https://issues.apache.org/jira/browse/SOLR-8929
> Project: Solr
> Issue Type: Improvement
> Components: scripts and tools
> Affects Versions: 5.4.1
> Reporter: Scott Blum
> Assignee: Scott Blum
> Priority: Minor
> Attachments: SOLR-8929-bin-solr-run-configuration.patch,
> SOLR-8929.patch, SOLR-8929.patch
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> Currently in IntelliJ, it's difficult to create a launch config to run Solr
> in the same way that the bin/solr script would, because there aren't any
> modules that reference the jetty start.jar that it uses.
> I want to create a simple solr/server IJ module that can be referenced from a
> launch config. I've created it manually in the past, but then I always lose
> it when I have to regenerate idea on branch switch.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]