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)" <j...@apache.org> 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
>
>
> > 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.patch,
> kafka-sbt0-11-3-0.8-v2.patch, kafka-sbt0-11-3-0.8-v3.patch,
> kafka-sbt0-11-3-0.8-v4.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
>
>
>

Reply via email to