Return-Path: X-Original-To: apmail-kafka-dev-archive@www.apache.org Delivered-To: apmail-kafka-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2284D1159B for ; Thu, 9 May 2013 08:57:18 +0000 (UTC) Received: (qmail 91459 invoked by uid 500); 9 May 2013 08:57:17 -0000 Delivered-To: apmail-kafka-dev-archive@kafka.apache.org Received: (qmail 91344 invoked by uid 500); 9 May 2013 08:57:17 -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 91267 invoked by uid 99); 9 May 2013 08:57:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 May 2013 08:57:16 +0000 Date: Thu, 9 May 2013 08:57:15 +0000 (UTC) From: "Ashwanth Fernando (JIRA)" To: dev@kafka.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (KAFKA-885) sbt package builds two kafka jars MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/KAFKA-885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13652820#comment-13652820 ] Ashwanth Fernando commented on KAFKA-885: ----------------------------------------- Hi Jun Rao, even the ./contrib directory has an almost empty .jar file in ./contrib/target/scala-2.8.0. Aggregated projects in Build.scala (i.e. kafka and contrib) are exhibiting this behavior. This is because they don't have any src folders as immediate children of those base directories (root or contrib) and hence they are generating a manifest only .jar file. If the name as 'kafka_ seems confusing, we can either 1) add a build.sbt to the root package that changes the name of the root target folder's jar to root_2.8.0-0.8-SNAPSHOT.jar. OR 2) we can change the core/target folder's output jar to core_2.8.0-0.8.0-SNAPSHOT.jar instead of kafka. I have added a patch for (1) just in case. > sbt package builds two kafka jars > --------------------------------- > > Key: KAFKA-885 > URL: https://issues.apache.org/jira/browse/KAFKA-885 > Project: Kafka > Issue Type: Improvement > Components: packaging > Affects Versions: 0.8 > Reporter: Jun Rao > Priority: Blocker > > After recent changes to sbt, ./sbt package now builds two kafka jars. One under > ./target/scala-2.8.0/kafka_2.8.0-0.8.0-SNAPSHOT.jar > and another under > ./core/target/scala-2.8.0/kafka_2.8.0-0.8.0-SNAPSHOT.jar > The former seems incorrect. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira