[ https://issues.apache.org/jira/browse/KAFKA-139?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13420728#comment-13420728 ]
derek commented on KAFKA-139: ----------------------------- 1. +package will compile, test, and package for all cross-build Scala versions (2.8.0, 2.9.1), while package simply runs it for the default Scala version (2.8.0). See https://github.com/harrah/xsbt/wiki/Cross-Build for more details. 2. I'll upload a new patch with Release.scala removed 3. I'm not sure. As part of the patch I had to upgrade scalatest, so this may be some change in behavior there 4. With a multi-module project, SBT 0.10+ will run a given command for all subprojects. If you want to run a command for a particular sub-project you can prefix it with "projectname/". For example, to run the test above, just do: core/test-only kafka.integration.LazyInitProducerTest > cross-compile multiple Scala versions > ------------------------------------- > > Key: KAFKA-139 > URL: https://issues.apache.org/jira/browse/KAFKA-139 > Project: Kafka > Issue Type: Improvement > Components: packaging > Affects Versions: 0.8 > Reporter: Chris Burroughs > Labels: build > Fix For: 0.8 > > Attachments: kafka-sbt0-11-3-0.8-v2.patch, > kafka-sbt0-11-3-0.8-v3.patch, kafka-sbt0-11-3-0.8.patch, kafka-sbt0-11-3.patch > > > Since scala does not maintain binary compatibly between versions, > organizations tend to have to move all of there code at the same time. It > would thus be very helpful if we could cross build multiple scala versions. > http://code.google.com/p/simple-build-tool/wiki/CrossBuild > Unclear if this would require KAFKA-134 or just work. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira