Lift 3, Scala 2.11 and Rogue

197 views
Skip to first unread message

Torsten Uhlmann

unread,
Sep 27, 2014, 4:22:24 AM9/27/14
to lif...@googlegroups.com
Hi,

has anyone of you got the combo of Lift 3 / Lift 2.6 / Scala 2.11 and Foursquare Rogue to work?

I was about to compile Rogue myself and put it on a private maven repo on github, but failed with a dependency to finagle-thrift, which apparently only exists as 2.10 version.

Maybe one of you has already done the whole chain?

I hope I don't sound too frustrated, remembering the good ole Java days where any library would fit :)

Thanks,
Torsten.

Diego Medina

unread,
Sep 27, 2014, 9:10:14 AM9/27/14
to Lift
I haven't but the finagle team has this ticket to keep track of moving to 2.11.x

https://github.com/twitter/finagle/issues/290

this PR https://github.com/twitter/finagle/pull/308 should be merge real soon which I think paves the way to migrate to 2.11

P.S. I didn't notice any frustration at all in the email :) but I know how awful it is when all you want is to upgrade to the next version and then you find a never ending chain of issues with scala versions

Thanks


--
--
Lift, the simply functional web framework: http://liftweb.net
Code: http://github.com/lift
Discussion: http://groups.google.com/group/liftweb
Stuck? Help us help you: https://www.assembla.com/wiki/show/liftweb/Posting_example_code

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



--
Diego Medina
Lift/Scala consultant
di...@fmpwizard.com
http://fmpwizard.telegr.am

Ben Phelan

unread,
Oct 14, 2014, 7:48:11 PM10/14/14
to lif...@googlegroups.com
It may be easier to port Rogue 2.4 to Scala 2.11 - less new/weird dependencies due to lack of thrift.

Alex Menshov

unread,
Oct 15, 2014, 1:18:10 PM10/15/14
to lif...@googlegroups.com
Hi, if you don’t use rogue spindle, you can try https://github.com/ekzeb/rogue/tree/v3.0.0-beta7a-2.11, I use it about two months in production, no issues till now. 
Saw this thread and push the changes on github.

Best regards

Torsten Uhlmann

unread,
Oct 15, 2014, 1:34:49 PM10/15/14
to lif...@googlegroups.com
Alex, thanks for the pointer!
AGYNAMIX(R). Passionate Software.
Inh. Torsten Uhlmann | Buchenweg 5 | 09380 Thalheim
Phone:     +49 3721 273445
Fax:         +49 3721 273446
Mobile:     +49 151 12412427
Web:        http://www.agynamix.de

Juan Jose Olivera

unread,
Oct 15, 2014, 5:31:08 PM10/15/14
to lif...@googlegroups.com
Hi Alex, I tryied to install the fork but I cant, I tryied:

1) From master
2) Using:
clone this fork, $ git checkout v3.0.0-beta7a-2.11, $ ./sbt, sbt:> set lift211Version := (2.6-RC1|3.0-X), sbt:> publishLocal

Any idea?

Thank you
Juan Jose Olivera Rodriguez
Genso Iniciativas Web
+591.44505438

Alex Menshov

unread,
Oct 15, 2014, 5:36:39 PM10/15/14
to lif...@googlegroups.com
May be you forget 
- clone https://github.com/ekzeb/rogue-field.git, $ git checkout v2.2.1-2.11.2, sbt:> publishLocal
you have to publish this fork of rogue-field 2.11 first, as rogue-core and rogue-index depends on it

Juan Jose Olivera

unread,
Oct 15, 2014, 5:40:28 PM10/15/14
to lif...@googlegroups.com
I Have done that, but everyt time I publish the artifact it is published with 0.1-SNAPSHOT version :(

Alex Menshov

unread,
Oct 15, 2014, 5:53:46 PM10/15/14
to lif...@googlegroups.com
You are right, will fix it 
now you can try in rogue-field
./sbt
set version := "2.2.1"
session save
publishLocal

Juan Jose Olivera

unread,
Oct 15, 2014, 5:54:44 PM10/15/14
to lif...@googlegroups.com
Great!, Thank you!

Juan Jose Olivera

unread,
Oct 15, 2014, 6:11:02 PM10/15/14
to lif...@googlegroups.com
more errors :( it is installing the artifaact with the wrong organization, i had to set it manually inside sbt organization := "com.foursquare"

Alex Menshov

unread,
Oct 15, 2014, 6:28:58 PM10/15/14
to lif...@googlegroups.com
 I fount it, accidentally delete this line from rogue-lift/build.sbt 
Seq(RogueBuild.defaultSettings: _*)

Juan Jose Olivera

unread,
Oct 15, 2014, 6:30:56 PM10/15/14
to lif...@googlegroups.com
Thans again Alex it works great!

Alexandre Richonnier

unread,
Dec 20, 2014, 7:14:02 AM12/20/14
to lif...@googlegroups.com
Hi Until foursquare accepts the pull request https://github.com/foursquare/rogue/pull/108 , you can use this:


resolvers += Resolver.url(
"ArCodeH Releases2",
url("http://arcodeh.github.io/releases/")
)(Resolver.ivyStylePatterns)

val rogue = "2.4.1"


"com.foursquare"            %% "rogue-field"              % V.rogue  withSources() intransitive() ,
"com.foursquare" %% "rogue-core" % V.rogue withSources() intransitive() ,
"com.foursquare" %% "rogue-lift" % V.rogue withSources() intransitive() ,
"com.foursquare" %% "rogue-index" % V.rogue withSources() intransitive() ,

Best regards;

Alexandre

Torsten Uhlmann

unread,
Dec 20, 2014, 7:31:32 AM12/20/14
to lif...@googlegroups.com
Thanks, Alexandre!

When looking at the repo url and on github.com/arcodeh/releases it seems to be empty. Am I missing something?

Thanks,
Torsten.

Alexandre Richonnier

unread,
Dec 20, 2014, 7:58:58 AM12/20/14
to lif...@googlegroups.com
This repository use github.io and github page generation, that is why master is empty.
You need to go to gh-pages branch to explore it.

in maven or sbt you could use
http://arcodeh.github.io/releases/
Alexandre Richonnier

-- 
http://primimo.com - Your Free Geotagged Real Estate Ads



--
--
Lift, the simply functional web framework: http://liftweb.net
Code: http://github.com/lift
Discussion: http://groups.google.com/group/liftweb
Stuck? Help us help you: https://www.assembla.com/wiki/show/liftweb/Posting_example_code

---
You received this message because you are subscribed to a topic in the Google Groups "Lift" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/liftweb/rRGou1EFieM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to liftweb+u...@googlegroups.com.

Torsten Uhlmann

unread,
Dec 20, 2014, 3:17:24 PM12/20/14
to lif...@googlegroups.com
Got it, thanks!
I was confused when hitting that url in the browser gave me "toto" :)

It's downloading now...

Torsten.

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

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

ti com

unread,
Dec 21, 2014, 2:03:20 AM12/21/14
to liftweb

B.t.w did you see the Odersky scalax talk, there is proposal for new solution to bin compat

Peter Petersson

unread,
Dec 21, 2014, 5:39:22 AM12/21/14
to lif...@googlegroups.com

Scalawags also have a interview [1] with Martin where this is discussed.

This seems promising but will likely take some time to materialize.
The type-tree annotation proposal also have other benefits for analysis-tools and more.       

[1] https://www.youtube.com/watch?v=uP-m8j8ZN-Q

best regards Peter Petersson

Alexandre Richonnier

unread,
Dec 21, 2014, 1:52:49 PM12/21/14
to lif...@googlegroups.com
it will be great!
Reply all
Reply to author
Forward
0 new messages