Re: No dispatch-lift-json build for 2.10

117 views
Skip to first unread message

Reuben Doetsch

unread,
Apr 15, 2013, 7:46:42 AM4/15/13
to dispatc...@googlegroups.com

object Json extends (Response => JValue) {
  def apply(r: Response) =
    (dispatch.as.String andThen JsonParser.parse)(r)
}


This is the only code in the repo. I just added this to a utility package.

Reuben

On Sunday, April 14, 2013 3:37:14 PM UTC-4, Matt Farmer wrote:
Ahoy,

I'm trying to upgrade a project where I use Lift and Dispatch in 2.10, and I can't because (it seems) there was no dispatch-lift-json built for 2.10. This line appears to be the culprit.


Is there any chance of this getting changed and another build getting spun out to Maven Central Real Soon Likeâ„¢?

Thanks! :)

Nathan Hamblen

unread,
Apr 15, 2013, 7:51:30 AM4/15/13
to dispatc...@googlegroups.com

Yeah there was no lift-json for 2.9.3 so I couldn't do a proper cross build. (Same old story!)


--
You received this message because you are subscribed to the Google Groups "Dispatch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dispatch-scal...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Adam Rosien

unread,
Apr 15, 2013, 2:29:21 PM4/15/13
to dispatc...@googlegroups.com
Perhaps switch to json4s?

Matt Farmer

unread,
Apr 20, 2013, 11:56:09 AM4/20/13
to dispatc...@googlegroups.com
Sorry, but I'd prefer not to. I'm using Lift for the actual webapp, so there's no reason to pull in another package when things will work as-is. Is there any we could have the cross build just exclude the dispatch-lift-json build for 2.9.3. The 2.9 series is binary compatible, so there should be no problem with someone using 2.9.3 using the 2.9.2 version of the artifact.


On Monday, April 15, 2013 2:29:21 PM UTC-4, Adam Rosien wrote:
Perhaps switch to json4s?

On Monday, April 15, 2013, Nathan Hamblen wrote:

Yeah there was no lift-json for 2.9.3 so I couldn't do a proper cross build. (Same old story!)


On April 15, 2013 7:46:42 AM Reuben Doetsch wrote:


object Json extends (Response => JValue) {
  def apply(r: Response) =
    (dispatch.as.String andThen JsonParser.parse)(r)
}


This is the only code in the repo. I just added this to a utility package.

Reuben

On Sunday, April 14, 2013 3:37:14 PM UTC-4, Matt Farmer wrote:
Ahoy,

I'm trying to upgrade a project where I use Lift and Dispatch in 2.10, and I can't because (it seems) there was no dispatch-lift-json built for 2.10. This line appears to be the culprit.


Is there any chance of this getting changed and another build getting spun out to Maven Central Real Soon Likeâ„¢?

Thanks! :)

--
You received this message because you are subscribed to the Google Groups "Dispatch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dispatch-scala+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.
 
 

--
You received this message because you are subscribed to the Google Groups "Dispatch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dispatch-scala+unsubscribe@googlegroups.com.

Nathan Hamblen

unread,
Apr 20, 2013, 12:11:02 PM4/20/13
to dispatc...@googlegroups.com
On 04/20/2013 11:56 AM, Matt Farmer wrote:
> Is there any we could have the cross build just exclude the
> dispatch-lift-json build for 2.9.3.

I've been wondering this for years. I think the answer is no, but sbt is
always changing.

Nathan

Matt Farmer

unread,
Apr 20, 2013, 12:15:56 PM4/20/13
to dispatc...@googlegroups.com
It looks like no, but you can dictate a custom mapping for the dependency on Lift JSON by using CrossVersion.fullMapped...


So you could publish a build for dispatch-lift-json under 2.9.3 and it would use the lift-json build for 2.9.2. There would be some compiler warnings in this case, but it would work.

--
Matt Farmer
Web Developer | Blogger

--
You received this message because you are subscribed to a topic in the Google Groups "Dispatch" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/dispatch-scala/38gyXn841-0/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to dispatch-scal...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages