[ 
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_<version> 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

Reply via email to