Taylor,

Could you open up a jira and upload your patch for this sbt issue?

Thanks,

Jun

On Thu, Nov 10, 2011 at 9:06 PM, Taylor Gautier <tgaut...@tagged.com> wrote:

> I seem to have gotten around it with this patch:
>
> diff --git a/project/build/KafkaProject.scala
> b/project/build/KafkaProject.scala
> index fcd06ba..22fb566 100644
> --- a/project/build/KafkaProject.scala
> +++ b/project/build/KafkaProject.scala
> @@ -4,7 +4,7 @@ class KafkaProject(info: ProjectInfo) extends
> DefaultProject(info) with IdeaProj
>   override def repositories = Set(ScalaToolsSnapshots, "JBoss Maven 2
> Repository" at "http://repository.jboss.com/maven2";,
>     "Oracle Maven 2 Repository" at "http://download.oracle.com/maven";, "
> maven.org" at "http://repo2.maven.org/maven2/";)
>
> -  val log4j = "log4j" % "log4j" % "1.2.15"
> +  val log4j = "log4j" % "log4j" % "1.2.15" intransitive()
>
>   //The issue is going from log4j 1.2.14 to 1.2.15, the developers added
> some features which required
>   // some dependencies on various sun and javax packages.
>
>
> On Thu, Nov 10, 2011 at 8:41 PM, Taylor Gautier <tgaut...@tagged.com>
> wrote:
>
> > Just for reference, I'm getting this:
> >
> > tgautier-laptop:kafka tgautier$ ./sbt update
> > [info] Building project Kafka 0.6 against Scala 2.8.0
> > [info]    using KafkaProject with sbt 0.7.3 and Scala 2.7.7
> > [info]
> > [info] == update ==
> > [warn] [NOT FOUND  ] javax.jms#jms;1.1!jms.jar (259ms)
> > [warn] ==== maven.org: tried
> > [warn]   http://repo2.maven.org/maven2/javax/jms/jms/1.1/jms-1.1.jar
> > [warn] ::::::::::::::::::::::::::::::::::::::::::::::
> > [warn] ::              FAILED DOWNLOADS            ::
> > [warn] :: ^ see resolution messages for details  ^ ::
> > [warn] ::::::::::::::::::::::::::::::::::::::::::::::
> > [warn] :: javax.jms#jms;1.1!jms.jar
> > [warn] ::::::::::::::::::::::::::::::::::::::::::::::
> > [info]
> > [warn] :: problems summary ::
> > [warn] :::: WARNINGS
> > [warn] [NOT FOUND  ] javax.jms#jms;1.1!jms.jar (259ms)
> > [warn] ==== maven.org: tried
> > [warn]   http://repo2.maven.org/maven2/javax/jms/jms/1.1/jms-1.1.jar
> > [warn] ::::::::::::::::::::::::::::::::::::::::::::::
> > [warn] ::              FAILED DOWNLOADS            ::
> > [warn] :: ^ see resolution messages for details  ^ ::
> > [warn] ::::::::::::::::::::::::::::::::::::::::::::::
> > [warn] :: javax.jms#jms;1.1!jms.jar
> > [warn] ::::::::::::::::::::::::::::::::::::::::::::::
> > [info]
> > [info] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
> > [error] sbt.ResolveException: download failed: javax.jms#jms;1.1!jms.jar
> > [info] == update ==
> > [error] Error running update: sbt.ResolveException: download failed:
> > javax.jms#jms;1.1!jms.jar
> > [info]
> > [info] Total time: 1 s, completed Nov 10, 2011 8:22:46 PM
> > [info]
> > [info] Total session time: 1 s, completed Nov 10, 2011 8:22:46 PM
> > [error] Error during build.
> >
> >
> > On Thu, Nov 10, 2011 at 8:37 PM, Jay Kreps <jay.kr...@gmail.com> wrote:
> >
> >> That is awesome! Let us know how it goes...
> >>
> >> I haven't seen that build problem. Anyone else seen that?
> >>
> >> -Jay
> >>
> >> On Thu, Nov 10, 2011 at 8:33 PM, Taylor Gautier <tgaut...@tagged.com>
> >> wrote:
> >>
> >> > I think I am going to work on it ASAP.  Except I need to apply it to
> >> 0.6.
> >> >  I suspect the patch will be small so it will likely be applicable for
> >> 0.7.
> >> >  I am having trouble building 0.6 - sbt is complaining about that
> >> > irritating jms1.1 library from sun.  Any tips on how to get sbt to
> find
> >> it?
> >> >
> >> > p.s. as of this week we are in prod with Kafka - public launch of the
> >> new
> >> > feature is coming soon.
> >> >
> >> > On Thu, Nov 10, 2011 at 8:27 PM, Jay Kreps <jay.kr...@gmail.com>
> wrote:
> >> >
> >> > > No I don't think so, this is a major irritiation for us, if there
> was
> >> a
> >> > > patch it would definitely have gone in.
> >> > >
> >> > > I think we just need a config option to disable this. For us it can
> be
> >> > nice
> >> > > to have it work this way, but for our ad hoc clusters is not
> desirable
> >> > > since every time someone misspells a topic name we end up creating
> an
> >> > empty
> >> > > topic by that name which further confuses future people.
> >> > >
> >> > > -Jay
> >> > >
> >> > > On Thu, Nov 10, 2011 at 7:23 PM, Taylor Gautier <
> tgaut...@tagged.com>
> >> > > wrote:
> >> > >
> >> > > > Hi -
> >> > > >
> >> > > > Has any progress been made on
> >> > > > https://issues.apache.org/jira/browse/KAFKA-101?
> >> > > >
> >> > > > I thought I saw on the list a patch some time back?  I can't seem
> to
> >> > find
> >> > > > it though...
> >> > > >
> >> > >
> >> >
> >>
> >
> >
>

Reply via email to