Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Kafka, mail # dev - Re: [jira] [Commented] (KAFKA-139) cross-compile multiple Scala versions


Copy link to this message
-
Re: [jira] [Commented] (KAFKA-139) cross-compile multiple Scala versions
Derek Chen-Becker 2012-08-17, 22:38
Hi,
    This has been somewhat of a complicated patch to submit :). Besides the
obvious application of the patch file itself, you'll need to downoad the
latest SBT jar and replace the existing one in lib/, and you'll also need
to remove the project/plugins/ dir. "Patch", per se, doesn't support either
of these operations, so I apologize for any confusion. The error you show
above appears to be an issue with the SBT jar not being updated.

I saw rumblings on the list about moving to Git from SVN. If that happens I
can host my own repo, make the changes there, and then just submit a pull
request if that would be simpler. Alternatively, I could submit a script
that applies the patch, downloads the latest SBT, and removes the
extraneous directories. Which would be preferable from your standpoint?

Thanks,

Derek
On Aug 17, 2012 2:42 PM, "Neha Narkhede (JIRA)" <[EMAIL PROTECTED]> wrote:

>
>     [
> https://issues.apache.org/jira/browse/KAFKA-139?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13437053#comment-13437053]
>
> Neha Narkhede commented on KAFKA-139:
> -------------------------------------
>
> Sorry for reviewing this late and thanks for the patch. I applied it and
> try ./sbt idea, but it fails with the following error message -
>
> nnarkhed-ld:kafka-139 nnarkhed$ ./sbt idea
> Getting org.scala-tools.sbt sbt_2.7.7 0.11.3 ...
>
> :: problems summary ::
> :::: WARNINGS
>                 module not found: org.scala-tools.sbt#sbt_2.7.7;0.11.3
>
>         ==== local: tried
>
>
> /home/nnarkhed/.ivy2/local/org.scala-tools.sbt/sbt_2.7.7/0.11.3/ivys/ivy.xml
>
>           -- artifact org.scala-tools.sbt#sbt_2.7.7;0.11.3!sbt_2.7.7.jar:
>
>
> /home/nnarkhed/.ivy2/local/org.scala-tools.sbt/sbt_2.7.7/0.11.3/jars/sbt_2.7.7.jar
>
>         ==== Maven2 Local: tried
>
>
> file:///home/nnarkhed/.m2/repository/org/scala-tools/sbt/sbt_2.7.7/0.11.3/sbt_2.7.7-0.11.3.pom
>
>           -- artifact org.scala-tools.sbt#sbt_2.7.7;0.11.3!sbt_2.7.7.jar:
>
>
> file:///home/nnarkhed/.m2/repository/org/scala-tools/sbt/sbt_2.7.7/0.11.3/sbt_2.7.7-0.11.3.jar
>
>         ==== sbt-db: tried
>
>
> http://databinder.net/repo/org.scala-tools.sbt/sbt_2.7.7/0.11.3/ivys/ivy.xml
>
>           -- artifact org.scala-tools.sbt#sbt_2.7.7;0.11.3!sbt_2.7.7.jar:
>
>
> http://databinder.net/repo/org.scala-tools.sbt/sbt_2.7.7/0.11.3/jars/sbt_2.7.7.jar
>
>         ==== Maven Central: tried
>
>
> http://repo1.maven.org/maven2/org/scala-tools/sbt/sbt_2.7.7/0.11.3/sbt_2.7.7-0.11.3.pom
>
>           -- artifact org.scala-tools.sbt#sbt_2.7.7;0.11.3!sbt_2.7.7.jar:
>
>
> http://repo1.maven.org/maven2/org/scala-tools/sbt/sbt_2.7.7/0.11.3/sbt_2.7.7-0.11.3.jar
>
>         ==== Scala-Tools Maven2 Repository: tried
>
>
> http://scala-tools.org/repo-releases/org/scala-tools/sbt/sbt_2.7.7/0.11.3/sbt_2.7.7-0.11.3.pom
>
>           -- artifact org.scala-tools.sbt#sbt_2.7.7;0.11.3!sbt_2.7.7.jar:
>
>
> http://scala-tools.org/repo-releases/org/scala-tools/sbt/sbt_2.7.7/0.11.3/sbt_2.7.7-0.11.3.jar
>
>         ==== Scala-Tools Maven2 Snapshots Repository: tried
>
>
> http://scala-tools.org/repo-snapshots/org/scala-tools/sbt/sbt_2.7.7/0.11.3/sbt_2.7.7-0.11.3.pom
>
>           -- artifact org.scala-tools.sbt#sbt_2.7.7;0.11.3!sbt_2.7.7.jar:
>
>
> http://scala-tools.org/repo-snapshots/org/scala-tools/sbt/sbt_2.7.7/0.11.3/sbt_2.7.7-0.11.3.jar
>
>                 ::::::::::::::::::::::::::::::::::::::::::::::
>
>                 ::          UNRESOLVED DEPENDENCIES         ::
>
>                 ::::::::::::::::::::::::::::::::::::::::::::::
>
>                 :: org.scala-tools.sbt#sbt_2.7.7;0.11.3: not found
>
>                 ::::::::::::::::::::::::::::::::::::::::::::::
>
>
>
> :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
> unresolved dependency: org.scala-tools.sbt#sbt_2.7.7;0.11.3: not found
> Error during sbt execution: Error retrieving required libraries
>   (see /home/nnarkhed/Projects/kafka-139/project/boot/update.log for
> complete log)
> Error: Could not retrieve sbt 0.11.3
+
Jun Rao 2013-01-21, 20:34