You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Dhwani Katagade (JIRA)" <ji...@apache.org> on 2017/01/11 11:12:58 UTC
[jira] [Commented] (KAFKA-4617) gradle-generated core eclipse
project has incorrect source folder structure
[ https://issues.apache.org/jira/browse/KAFKA-4617?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15818024#comment-15818024 ]
Dhwani Katagade commented on KAFKA-4617:
----------------------------------------
The gradle eclipse plugin seem to have other problems as well, like the output folders for src and test class files and resources. More details discussed here http://mail-archives.apache.org/mod_mbox/kafka-dev/201701.mbox/%3Cd98febbd-ceb8-a995-56bb-2294d60beb5b%40persistent.co.in%3E
> gradle-generated core eclipse project has incorrect source folder structure
> ---------------------------------------------------------------------------
>
> Key: KAFKA-4617
> URL: https://issues.apache.org/jira/browse/KAFKA-4617
> Project: Kafka
> Issue Type: Bug
> Components: build
> Reporter: Edoardo Comar
> Priority: Minor
>
> The gradle-generated Eclipse Scala project for Kafka core has a
> classpath defined as :
> {code:xml}
> <classpathentry kind="src" path="src/main/scala"/>
> <classpathentry kind="src" path="src/test/scala"/>
> <classpathentry kind="src" path="src/test/resources"/>
> {code}
> because of how the source files are for tests are structured, code navigation / running unit tests fails. The correct structure should be instead :
> {code:xml}
> <classpathentry kind="src" path="src/main/scala"/>
> <classpathentry excluding="integration/|other/|unit/" kind="src" path="src/test/scala"/>
> <classpathentry kind="src" path="src/test/scala/other"/>
> <classpathentry kind="src" path="src/test/scala/integration"/>
> <classpathentry kind="src" path="src/test/scala/unit"/>
> <classpathentry kind="src" path="src/test/resources"/>
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)