Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id DA31B200C0E for ; Tue, 17 Jan 2017 14:10:34 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id D89EC160B55; Tue, 17 Jan 2017 13:10:34 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 288E0160B52 for ; Tue, 17 Jan 2017 14:10:34 +0100 (CET) Received: (qmail 70073 invoked by uid 500); 17 Jan 2017 13:10:33 -0000 Mailing-List: contact dev-help@kafka.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@kafka.apache.org Delivered-To: mailing list dev@kafka.apache.org Received: (qmail 70043 invoked by uid 99); 17 Jan 2017 13:10:33 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Jan 2017 13:10:33 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 8FE191A027F for ; Tue, 17 Jan 2017 13:10:32 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -1.199 X-Spam-Level: X-Spam-Status: No, score=-1.199 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-2.999] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id XZvoGs6J7e9f for ; Tue, 17 Jan 2017 13:10:31 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 107F85FB5D for ; Tue, 17 Jan 2017 13:10:31 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id EA765E736C for ; Tue, 17 Jan 2017 13:10:27 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 877F025285 for ; Tue, 17 Jan 2017 13:10:26 +0000 (UTC) Date: Tue, 17 Jan 2017 13:10:26 +0000 (UTC) From: "Dhwani Katagade (JIRA)" To: dev@kafka.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (KAFKA-4617) gradle-generated core eclipse project has incorrect source folder structure MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 17 Jan 2017 13:10:35 -0000 [ https://issues.apache.org/jira/browse/KAFKA-4617?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15826017#comment-15826017 ] Dhwani Katagade commented on KAFKA-4617: ---------------------------------------- [~ecomar] thanks for your comments. I tried to remove the following explicit dependency from build.gradle but it is required by the scala plugin for building test classes. Without it the :core:compileTestScala task fails. testCompile project(':clients').sourceSets.test.output I had to fix the generated .classpath file in the whenMerged closure itself. I have pushed an additional commit with changes to handle this. Please review. > 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 > Assignee: Dhwani Katagade > Priority: Minor > Labels: build > > The gradle-generated Eclipse Scala project for Kafka core has a > classpath defined as : > {code:xml} > > > > {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} > > > > > > > {code} > Moreover, the classpath included as libraries core/build/test and core/build/resources > which should not be there as the eclipse classes are not generated under build -- This message was sent by Atlassian JIRA (v6.3.4#6332)