[
https://issues.apache.org/jira/browse/NUTCH-3093?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17902068#comment-17902068
]
ASF GitHub Bot commented on NUTCH-3093:
---------------------------------------
lewismc commented on PR #840:
URL: https://github.com/apache/nutch/pull/840#issuecomment-2509402956
@sebastian-nagel I took the liberty of merging this PR. It will unblock my
work on #838 . Thank you
> Ant target test-plugins to depend on compile-core-test
> ------------------------------------------------------
>
> Key: NUTCH-3093
> URL: https://issues.apache.org/jira/browse/NUTCH-3093
> Project: Nutch
> Issue Type: Bug
> Components: build
> Affects Versions: 1.21
> Reporter: Sebastian Nagel
> Priority: Major
> Fix For: 1.21
>
>
> The ant target "test-plugins" must depend on the target "compile-core-test"
> because test classes may import core test classes:
> {noformat}
> $> ant clean test-plugins
> ...
> [javac]
> .../src/plugin/protocol-okhttp/src/test/org/apache/nutch/protocol/okhttp/TestBadServerResponses.java:29:
> error: cannot find symbol
> [javac] import org.apache.nutch.protocol.AbstractHttpProtocolPluginTest;
> [javac] ^
> [javac] symbol: class AbstractHttpProtocolPluginTest
> [javac] location: package org.apache.nutch.protocol
> {noformat}
> Note: when running {{ant test}} the core test classes are compiled for the
> target "test-core" and stay available for the plugin tests.
> This issue has shown up in the automated tests on Github after NUTCH-3084
> which runs conditionally on code changes in core or plugins source folders.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)