This page is no longer maintained — Please continue to the home page at www.scala-lang.org

[reactive-web] Getting started is missing a step

2 replies
Diego Medina
Joined: 2010-03-28,
User offline. Last seen 42 years 45 weeks ago.

Hi Naftoli,

I was going through the getting started
http://reactive-web-demo.nafg.cloudbees.net/demos/web/GettingStarted
and the first few steps you have there are:

git clone git://github.com/nafg/reactive.git
cd reactive
sbt publish-local

but sbt publish-local gives errors telling me that package
net.liftweb... is not a member ...

what I had to do was sbt update after cd reactive, and then publish-
local passed.

Also, there were a warning:

/Users/wizard/Desktop/work/src/etools/reactive/reactive-web/src/main/
scala/reactive/web/Repeater.scala:30: method fixHtml in trait
HtmlFixer is deprecated: Use fixHtmlAndJs or fixHtmlFunc
[warn] ).mkString + "e.innerHTML = " +
fixHtml(elem.id,e.child) + ";" + (

Thanks

Diego

Diego Medina
Joined: 2010-03-28,
User offline. Last seen 42 years 45 weeks ago.
Re: Getting started is missing a step

I also had to use

"cc.co.scala-reactive" %% "reactive-web" % "0.0.1-SNAPSHOT",

in my sbt project file, which is different from what the site has

On Apr 2, 2:38 am, fmpwizard wrote:
> Hi Naftoli,
>
> I was going through the getting startedhttp://reactive-web-demo.nafg.cloudbees.net/demos/web/GettingStarted
> and the first few steps you have there are:
>
> git clone git://github.com/nafg/reactive.git
> cd reactive
> sbt publish-local
>
> but sbt publish-local gives errors telling me that package
> net.liftweb... is not a member ...
>
> what I had to do was sbt update after cd reactive, and then publish-
> local passed.
>
> Also, there were a  warning:
>
>  /Users/wizard/Desktop/work/src/etools/reactive/reactive-web/src/main/
> scala/reactive/web/Repeater.scala:30: method fixHtml in trait
> HtmlFixer is deprecated: Use fixHtmlAndJs or fixHtmlFunc
> [warn]         ).mkString + "e.innerHTML = " +
> fixHtml(elem.id,e.child) + ";" + (
>
> Thanks
>
>   Diego

Naftoli Gugenheim
Joined: 2008-12-17,
User offline. Last seen 42 years 45 weeks ago.
Re: Getting started is missing a step

Thanks! I made the corrections and they should be up in a few minutes.The warning is something I have to ask about on the Lift list when I find some time... :)

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland