You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Peter Somogyi (JIRA)" <ji...@apache.org> on 2018/10/18 18:46:00 UTC
[jira] [Updated] (LUCENE-8537) ant test command fails under
lucene/tools
[ https://issues.apache.org/jira/browse/LUCENE-8537?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Peter Somogyi updated LUCENE-8537:
----------------------------------
Attachment: LUCENE-8537.patch
> ant test command fails under lucene/tools
> -----------------------------------------
>
> Key: LUCENE-8537
> URL: https://issues.apache.org/jira/browse/LUCENE-8537
> Project: Lucene - Core
> Issue Type: Bug
> Affects Versions: master (8.0)
> Reporter: Peter Somogyi
> Priority: Minor
> Attachments: LUCENE-8537.patch
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> The {{ant test}} command executed under {{lucene/tools}} folder fails because it does not have {{junit.classpath}} property. Since the module does not have any test folder we could override the {{-test}} and {{-check-totals}} targets.
> {noformat}
> bash-3.2$ pwd
> /Users/peter.somogyi/repos/lucene-solr/lucene/tools
> bash-3.2$ ant test
> Buildfile: /Users/peter.somogyi/repos/lucene-solr/lucene/tools/build.xml
> ...
> -test:
> [junit4] <JUnit4> says ciao! Master seed: 9A2ACC9B4A3C8553
> BUILD FAILED
> /Users/peter.somogyi/repos/lucene-solr/lucene/common-build.xml:1567: The following error occurred while executing this line:
> /Users/peter.somogyi/repos/lucene-solr/lucene/common-build.xml:1092: Reference junit.classpath not found.
> Total time: 1 second
> {noformat}
> I ran into this issue when uploaded a patch where I removed an import from this module. This triggered a module-level build during precommit that failed with this error.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org