[
https://issues.apache.org/jira/browse/SOLR-10868?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16045756#comment-16045756
]
ASF subversion and git services commented on SOLR-10868:
--------------------------------------------------------
Commit f43f89ee6ca276644f4cfcd751f81cd14c92e02a in lucene-solr's branch
refs/heads/master from [~noble.paul]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=f43f89e ]
SOLR-10868: add solrj resource dir to module paths
> Cannot run tests in IntelliJ
> ----------------------------
>
> Key: SOLR-10868
> URL: https://issues.apache.org/jira/browse/SOLR-10868
> Project: Solr
> Issue Type: Bug
> Security Level: Public(Default Security Level. Issues are Public)
> Affects Versions: master (7.0)
> Reporter: Erick Erickson
>
> SOLR-10647 moved a bunch of files from core to solrJ. As a result, they are
> no longer found when running tests from within IntelliJ. The error I get is:
> java.lang.RuntimeException: invalid API spec: apispec/cluster.json
> at
> __randomizedtesting.SeedInfo.seed([D735CBF9DE40D88C:88E874E66B342C33]:0)
> at
> org.apache.solr.common.util.ValidatingJsonMap.parse(ValidatingJsonMap.java:318)
> at org.apache.solr.common.util.Utils.lambda$getSpec$0(Utils.java:310)
> The files are in ./solr/core/src/resources/apispec which moved to
> ./solrj/src/resources/apispec
> If I manually copy
> ./solrj/src/resources/apispec/*
> to
> ./idea-build/solr/solr-core/classes/java/apispec
> whenever I execute "ant idea" then tests run.
> "ant test" runs even without the copy of course.
> This does _not_ affect 6x
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]