Revised to-do tutorial

1 view
Skip to first unread message

David Pollak

unread,
Dec 15, 2008, 3:02:55 PM12/15/08
to liftweb
Folks,

Thanks for your excellent suggestions, feedback, and input to the Lift to-do tutorial.

Enclosed, please find a revised version of the tutorial and the finished project.

Thanks,

David

--
Lift, the simply functional web framework http://liftweb.net
Collaborative Task Management http://much4.us
Follow me: http://twitter.com/dpp
Git some: http://github.com/dpp
todo.tgz
todo_steps.pdf

Paul O'Rorke

unread,
Dec 16, 2008, 6:06:56 PM12/16/08
to Lift
does anybody know what causes an error like "value util is not a
member of package net.liftweb"?

when I try to install this, I get the following errors/warnings.
note that I did not use the tar'd zip but used maven and the
instructions in the pdf.
maybe I will try that next.
When I create and run things using archetypeVersion 0.9 (like the
"ChoreWheel" stub) they seem to work fine. But actually when I tried
to use my older copy of todo, it seems to be broken, now, too.
---Paul O

[WARNING] /Users/Paul/dev/workspace/todo/src/main/scala/bootstrap/
liftweb/Boot.scala:3: error: value util is not a member of package
net.liftweb
[WARNING] import _root_.net.liftweb.util._
[WARNING] ^
[WARNING] /Users/Paul/dev/workspace/todo/src/main/scala/bootstrap/
liftweb/Boot.scala:8: error: value mapper is not a member of package
net.liftweb
[WARNING] import _root_.net.liftweb.mapper.{DB, ConnectionManager,
Schemifier, DefaultConnectionIdentifier, ConnectionIdentifier}
[WARNING] ^
[WARNING] /Users/Paul/dev/workspace/todo/src/main/scala/com/
liftworkshop/model/User.scala:3: error: value mapper is not a member
of package net.liftweb
[WARNING] import _root_.net.liftweb.mapper._
[WARNING] ^
[WARNING] /Users/Paul/dev/workspace/todo/src/main/scala/com/
liftworkshop/model/User.scala:4: error: value util is not a member of
package net.liftweb
[WARNING] import _root_.net.liftweb.util._
[WARNING] ^
[WARNING] Exception in thread "main" java.lang.RuntimeException:
malformed Scala signature of Loc at 3992; reference value util of
package liftweb refers to nonexisting symbol.
[WARNING] at scala.tools.nsc.symtab.classfile.UnPickler
$UnPickle.errorBadSignature(UnPickler.scala:762)
[WARNING] at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle.scala
$tools$nsc$symtab$classfile$UnPickler$UnPickle$$readSymbol
(UnPickler.scala:172)
[WARNING] at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle$
$anonfun$scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$
$readSymbolRef$1.apply(UnPickler.scala:714)
[WARNING] at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle$
$anonfun$scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$
$readSymbolRef$1.apply(UnPickler.scala:714)
[WARNING] at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle.scala
$tools$nsc$symtab$classfile$UnPickler$UnPickle$$at(UnPickler.scala:
139)
[WARNING] at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle.scala
$tools$nsc$symtab$classfile$UnPickler$UnPickle$$readSymbolRef
(UnPickler.scala:714)
[WARNING] at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle.scala
$tools$nsc$symtab$classfile$UnPickler$UnPickle$$readType
(UnPickler.scala:247)
[WARNING] at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle$
$anonfun$scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$
$readTypeRef$1.apply(UnPickler.scala:715)
[WARNING] at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle$
$anonfun$scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$
$readTypeRef$1.apply(UnPickler.scala:715)
[WARNING] at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle.scala
$tools$nsc$symtab$classfile$UnPickler$UnPickle$$at(UnPickler.scala:
139)
[WARNING] at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle.scala
$tools$nsc$symtab$classfile$UnPickler$UnPickle$$readTypeRef
(UnPickler.scala:715)
[WARNING] at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle.scala
$tools$nsc$symtab$classfile$UnPickler$UnPickle$$readType
(UnPickler.scala:253)
[WARNING] at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle$
$anonfun$scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$
$readTypeRef$1.apply(UnPickler.scala:715)
[WARNING] at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle$
$anonfun$scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$
$readTypeRef$1.apply(UnPickler.scala:715)
[WARNING] at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle.scala
$tools$nsc$symtab$classfile$UnPickler$UnPickle$$at(UnPickler.scala:
139)
[WARNING] at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle.scala
$tools$nsc$symtab$classfile$UnPickler$UnPickle$$readTypeRef
(UnPickler.scala:715)
[WARNING] at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle$
$anonfun$3.apply(UnPickler.scala:255)
[WARNING] at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle$
$anonfun$3.apply(UnPickler.scala:255)
[WARNING] at scala.tools.nsc.symtab.classfile.PickleBuffer.until
(PickleBuffer.scala:127)
[WARNING] at scala.tools.nsc.symtab.classfile.PickleBuffer.until
(PickleBuffer.scala:127)
[WARNING] at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle.scala
$tools$nsc$symtab$classfile$UnPickler$UnPickle$$readType
(UnPickler.scala:255)
[WARNING] at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle$
$anonfun$scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$
$readTypeRef$1.apply(UnPickler.scala:715)
[WARNING] at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle$
$anonfun$scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$
$readTypeRef$1.apply(UnPickler.scala:715)
[WARNING] at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle.scala
$tools$nsc$symtab$classfile$UnPickler$UnPickle$$at(UnPickler.scala:
139)
[WARNING] at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle.scala
$tools$nsc$symtab$classfile$UnPickler$UnPickle$$readTypeRef
(UnPickler.scala:715)
[WARNING] at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle$
$anonfun$scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$$readType
$1.apply(UnPickler.scala:275)
[WARNING] at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle$
$anonfun$scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$$readType
$1.apply(UnPickler.scala:275)
[WARNING] at scala.tools.nsc.symtab.classfile.PickleBuffer.until
(PickleBuffer.scala:127)
[WARNING] at scala.tools.nsc.symtab.classfile.PickleBuffer.until
(PickleBuffer.scala:127)
[WARNING] at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle.scala
$tools$nsc$symtab$classfile$UnPickler$UnPickle$$readType
(UnPickler.scala:275)
[WARNING] at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle$
$anonfun$scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$
$readTypeRef$1.apply(UnPickler.scala:715)
[WARNING] at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle$
$anonfun$scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$
$readTypeRef$1.apply(UnPickler.scala:715)
[WARNING] at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle.scala
$tools$nsc$symtab$classfile$UnPickler$UnPickle$$at(UnPickler.scala:
139)
[WARNING] at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle.scala
$tools$nsc$symtab$classfile$UnPickler$UnPickle$$readTypeRef
(UnPickler.scala:715)
[WARNING] at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle.scala
$tools$nsc$symtab$classfile$UnPickler$UnPickle$$readType
(UnPickler.scala:283)
[WARNING] at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle
$LazyTypeRef$$anonfun$32$$anonfun$apply$4.apply(UnPickler.scala:779)
[WARNING] at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle
$LazyTypeRef$$anonfun$32$$anonfun$apply$4.apply(UnPickler.scala:779)
[WARNING] at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle.scala
$tools$nsc$symtab$classfile$UnPickler$UnPickle$$at(UnPickler.scala:
139)
[WARNING] at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle
$LazyTypeRef$$anonfun$32.apply(UnPickler.scala:779)
[WARNING] at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle
$LazyTypeRef$$anonfun$32.apply(UnPickler.scala:779)
[WARNING] at scala.tools.nsc.Global$$anonfun$7.apply(Global.scala:
743)
[WARNING] at scala.tools.nsc.Global$$anonfun$7.apply(Global.scala:
743)
[WARNING] at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle
$LazyTypeRef.complete(UnPickler.scala:779)
[WARNING] at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle
$LazyTypeRef.load(UnPickler.scala:783)
[WARNING] at scala.tools.nsc.symtab.Symbols$Symbol.typeParams
(Symbols.scala:657)
[WARNING] at scala.tools.nsc.symtab.Types$TypeMap.mapOver(Types.scala:
2302)
[WARNING] at scala.tools.nsc.symtab.Types$AsSeenFromMap.apply
(Types.scala:2708)
[WARNING] at scala.tools.nsc.symtab.Types$AsSeenFromMap.apply
(Types.scala:2575)
[WARNING] at scala.tools.nsc.symtab.Types$TypeMap.mapOver(Types.scala:
2336)
[WARNING] at scala.tools.nsc.symtab.Types$AsSeenFromMap.apply
(Types.scala:2708)
[WARNING] at scala.tools.nsc.symtab.Types$Type.asSeenFrom(Types.scala:
399)
[WARNING] at scala.tools.nsc.symtab.Types$Type.memberType(Types.scala:
429)
[WARNING] at scala.tools.nsc.typechecker.Contexts$ImplicitInfo.tpe
(Contexts.scala:630)
[WARNING] at scala.tools.nsc.typechecker.Typers$Typer.isApplicable$1
(Typers.scala:3674)
[WARNING] at scala.tools.nsc.typechecker.Typers$Typer$$anonfun
$applicableInfos$1$1.apply(Typers.scala:3682)
[WARNING] at scala.tools.nsc.typechecker.Typers$Typer$$anonfun
$applicableInfos$1$1.apply(Typers.scala:3680)
[WARNING] at scala.List.foreach(List.scala:834)
[WARNING] at scala.tools.nsc.typechecker.Typers$Typer.applicableInfos
$1(Typers.scala:3680)
[WARNING] at scala.tools.nsc.typechecker.Typers$Typer$$anonfun
$60.apply(Typers.scala:3687)
[WARNING] at scala.tools.nsc.typechecker.Typers$Typer$$anonfun
$60.apply(Typers.scala:3687)
[WARNING] at scala.List.flatMap(List.scala:1125)
[WARNING] at scala.tools.nsc.typechecker.Typers$Typer.searchImplicit$1
(Typers.scala:3687)
[WARNING] at scala.tools.nsc.typechecker.Typers$Typer.inferImplicit
(Typers.scala:3751)
[WARNING] at scala.tools.nsc.typechecker.Typers$Typer.scala$tools$nsc
$typechecker$Typers$Typer$$inferView(Typers.scala:182)
[WARNING] at scala.tools.nsc.typechecker.Typers$Typer.inferView
(Typers.scala:205)
[WARNING] at scala.tools.nsc.typechecker.Typers$Typer.adaptToMember
(Typers.scala:864)
[WARNING] at scala.tools.nsc.typechecker.Typers$Typer.adaptToName
(Typers.scala:873)
[WARNING] at scala.tools.nsc.typechecker.Typers$Typer.typedSelect$1
(Typers.scala:2782)
[WARNING] at scala.tools.nsc.typechecker.Typers$Typer.typed1
(Typers.scala:3242)
[WARNING] at scala.tools.nsc.typechecker.Typers$Typer.typed
(Typers.scala:3323)
[WARNING] at scala.tools.nsc.typechecker.Typers$Typer.typedQualifier
(Typers.scala:3380)
[WARNING] at scala.tools.nsc.typechecker.Typers$Typer.typed1
(Typers.scala:3240)
[WARNING] at scala.tools.nsc.typechecker.Typers$Typer.typed
(Typers.scala:3323)
[WARNING] at scala.tools.nsc.typechecker.Typers$Typer$$anonfun
$typedApply$1$1.apply(Typers.scala:2607)
[WARNING] at scala.tools.nsc.typechecker.Typers$Typer$$anonfun
$typedApply$1$1.apply(Typers.scala:2607)
[WARNING] at scala.tools.nsc.typechecker.Typers$Typer.silent
(Typers.scala:583)
[WARNING] at scala.tools.nsc.typechecker.Typers$Typer.typedApply$1
(Typers.scala:2607)
[WARNING] at scala.tools.nsc.typechecker.Typers$Typer.typed1
(Typers.scala:3219)
[WARNING] at scala.tools.nsc.typechecker.Typers$Typer.typed
(Typers.scala:3323)
[WARNING] at scala.tools.nsc.typechecker.Typers$Typer.typedBlock
(Typers.scala:1405)
[WARNING] at scala.tools.nsc.typechecker.Typers$Typer.typed1
(Typers.scala:3083)
[WARNING] at scala.tools.nsc.typechecker.Typers$Typer.typed
(Typers.scala:3323)
[WARNING] at scala.tools.nsc.typechecker.Typers$Typer.typed
(Typers.scala:3371)
[WARNING] at scala.tools.nsc.typechecker.Typers$Typer.computeType
(Typers.scala:3422)
[WARNING] at scala.tools.nsc.typechecker.Namers$Namer.typeSig
(Namers.scala:859)
[WARNING] at scala.tools.nsc.typechecker.Namers$Namer$$anonfun
$typeCompleter$1.apply(Namers.scala:415)
[WARNING] at scala.tools.nsc.typechecker.Namers$Namer$$anonfun
$typeCompleter$1.apply(Namers.scala:413)
[WARNING] at scala.tools.nsc.typechecker.Namers$$anon$1.complete
(Namers.scala:982)
[WARNING] at scala.tools.nsc.symtab.Symbols$Symbol.info(Symbols.scala:
510)
[WARNING] at scala.tools.nsc.symtab.Symbols$Symbol.initialize
(Symbols.scala:624)
[WARNING] at scala.tools.nsc.typechecker.Typers$Typer.typed1
(Typers.scala:3040)
[WARNING] at scala.tools.nsc.typechecker.Typers$Typer.typed
(Typers.scala:3323)
[WARNING] at scala.tools.nsc.typechecker.Typers$Typer.typed
(Typers.scala:3360)
[WARNING] at scala.tools.nsc.typechecker.Typers$Typer.typedStat$1
(Typers.scala:1570)
[WARNING] at scala.tools.nsc.typechecker.Typers$Typer$$anonfun
$19.apply(Typers.scala:1615)
[WARNING] at scala.tools.nsc.typechecker.Typers$Typer$$anonfun
$19.apply(Typers.scala:1615)
[WARNING] at scala.List$.loop$1(List.scala:293)
[WARNING] at scala.List$.mapConserve(List.scala:310)
[WARNING] at scala.List$.loop$1(List.scala:297)
[WARNING] at scala.List$.mapConserve(List.scala:310)
[WARNING] at scala.List$.loop$1(List.scala:297)
[WARNING] at scala.List$.mapConserve(List.scala:310)
[WARNING] at scala.List$.loop$1(List.scala:297)
[WARNING] at scala.List$.mapConserve(List.scala:310)
[WARNING] at scala.List$.loop$1(List.scala:297)
[WARNING] at scala.List$.mapConserve(List.scala:310)
[WARNING] at scala.tools.nsc.typechecker.Typers$Typer.typedStats
(Typers.scala:1615)
[WARNING] at scala.tools.nsc.typechecker.Typers$Typer.typedBlock
(Typers.scala:1404)
[WARNING] at scala.tools.nsc.typechecker.Typers$Typer.typed1
(Typers.scala:3083)
[WARNING] at scala.tools.nsc.typechecker.Typers$Typer.typed
(Typers.scala:3323)
[WARNING] at scala.tools.nsc.typechecker.Typers$Typer.typed
(Typers.scala:3371)
[WARNING] at scala.tools.nsc.typechecker.Typers
$Typer.transformedOrTyped(Typers.scala:3429)
[WARNING] at scala.tools.nsc.typechecker.Typers$Typer.typedDefDef
(Typers.scala:1342)
[WARNING] at scala.tools.nsc.typechecker.Typers$Typer.typed1
(Typers.scala:3059)
[WARNING] at scala.tools.nsc.typechecker.Typers$Typer.typed
(Typers.scala:3323)
[WARNING] at scala.tools.nsc.typechecker.Typers$Typer.typed
(Typers.scala:3360)
[WARNING] at scala.tools.nsc.typechecker.Typers$Typer.typedStat$1
(Typers.scala:1570)
[WARNING] at scala.tools.nsc.typechecker.Typers$Typer$$anonfun
$19.apply(Typers.scala:1615)
[WARNING] at scala.tools.nsc.typechecker.Typers$Typer$$anonfun
$19.apply(Typers.scala:1615)
[WARNING] at scala.List$.loop$1(List.scala:293)
[WARNING] at scala.List$.mapConserve(List.scala:310)
[WARNING] at scala.tools.nsc.typechecker.Typers$Typer.typedStats
(Typers.scala:1615)
[WARNING] at scala.tools.nsc.typechecker.Typers$Typer.typedTemplate
(Typers.scala:1193)
[WARNING] at scala.tools.nsc.typechecker.Typers$Typer.typedClassDef
(Typers.scala:1062)
[WARNING] at scala.tools.nsc.typechecker.Typers$Typer.typed1
(Typers.scala:3050)
[WARNING] at scala.tools.nsc.typechecker.Typers$Typer.typed
(Typers.scala:3323)
[WARNING] at scala.tools.nsc.typechecker.Typers$Typer.typed1
(Typers.scala:3068)
[WARNING] at scala.tools.nsc.typechecker.Typers$Typer.typed
(Typers.scala:3323)
[WARNING] at scala.tools.nsc.typechecker.Typers$Typer.typed
(Typers.scala:3360)
[WARNING] at scala.tools.nsc.typechecker.Typers$Typer.typedStat$1
(Typers.scala:1570)
[WARNING] at scala.tools.nsc.typechecker.Typers$Typer$$anonfun
$19.apply(Typers.scala:1615)
[WARNING] at scala.tools.nsc.typechecker.Typers$Typer$$anonfun
$19.apply(Typers.scala:1615)
[WARNING] at scala.List$.loop$1(List.scala:293)
[WARNING] at scala.List$.mapConserve(List.scala:310)
[WARNING] at scala.List$.loop$1(List.scala:297)
[WARNING] at scala.List$.mapConserve(List.scala:310)
[WARNING] at scala.List$.loop$1(List.scala:297)
[WARNING] at scala.List$.mapConserve(List.scala:310)
[WARNING] at scala.List$.loop$1(List.scala:297)
[WARNING] at scala.List$.mapConserve(List.scala:310)
[WARNING] at scala.List$.loop$1(List.scala:297)
[WARNING] at scala.List$.mapConserve(List.scala:310)
[WARNING] at scala.List$.loop$1(List.scala:297)
[WARNING] at scala.List$.mapConserve(List.scala:310)
[WARNING] at scala.List$.loop$1(List.scala:297)
[WARNING] at scala.List$.mapConserve(List.scala:310)
[WARNING] at scala.List$.loop$1(List.scala:297)
[WARNING] at scala.List$.mapConserve(List.scala:310)
[WARNING] at scala.List$.loop$1(List.scala:297)
[WARNING] at scala.List$.mapConserve(List.scala:310)
[WARNING] at scala.List$.loop$1(List.scala:297)
[WARNING] at scala.List$.mapConserve(List.scala:310)
[WARNING] at scala.tools.nsc.typechecker.Typers$Typer.typedStats
(Typers.scala:1615)
[WARNING] at scala.tools.nsc.typechecker.Typers$Typer.typed1
(Typers.scala:3046)
[WARNING] at scala.tools.nsc.typechecker.Typers$Typer.typed
(Typers.scala:3323)
[WARNING] at scala.tools.nsc.typechecker.Typers$Typer.typed
(Typers.scala:3360)
[WARNING] at scala.tools.nsc.typechecker.Typers$Typer.typedStat$1
(Typers.scala:1570)
[WARNING] at scala.tools.nsc.typechecker.Typers$Typer$$anonfun
$19.apply(Typers.scala:1615)
[WARNING] at scala.tools.nsc.typechecker.Typers$Typer$$anonfun
$19.apply(Typers.scala:1615)
[WARNING] at scala.List$.loop$1(List.scala:293)
[WARNING] at scala.List$.mapConserve(List.scala:310)
[WARNING] at scala.tools.nsc.typechecker.Typers$Typer.typedStats
(Typers.scala:1615)
[WARNING] at scala.tools.nsc.typechecker.Typers$Typer.typed1
(Typers.scala:3046)
[WARNING] at scala.tools.nsc.typechecker.Typers$Typer.typed
(Typers.scala:3323)
[WARNING] at scala.tools.nsc.typechecker.Typers$Typer.typed
(Typers.scala:3360)
[WARNING] at scala.tools.nsc.typechecker.Analyzer$typerFactory$$anon
$2.apply(Analyzer.scala:40)
[WARNING] at scala.tools.nsc.Global$GlobalPhase.applyPhase
(Global.scala:268)
[WARNING] at scala.tools.nsc.Global$GlobalPhase$$anonfun$run$1.apply
(Global.scala:247)
[WARNING] at scala.tools.nsc.Global$GlobalPhase$$anonfun$run$1.apply
(Global.scala:247)
[WARNING] at scala.Iterator$class.foreach(Iterator.scala:410)
[WARNING] at scala.collection.mutable.ListBuffer$$anon$1.foreach
(ListBuffer.scala:266)
[WARNING] at scala.tools.nsc.Global$GlobalPhase.run(Global.scala:247)
[WARNING] at scala.tools.nsc.Global$Run.compileSources(Global.scala:
579)
[WARNING] at scala.tools.nsc.Global$Run.compile(Global.scala:663)
[WARNING] at scala.tools.nsc.Main$.process(Main.scala:84)
[WARNING] at scala.tools.nsc.Main$.main(Main.scala:98)
[WARNING] at scala.tools.nsc.Main.main(Main.scala)
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] command line returned non-zero value:1


On Dec 15, 12:02 pm, "David Pollak" <feeder.of.the.be...@gmail.com>
wrote:
> Folks,
>
> Thanks for your excellent suggestions, feedback, and input to the Lift to-do
> tutorial.
>
> Enclosed, please find a revised version of the tutorial and the finished
> project.
>
> Thanks,
>
> David
>
> --
> Lift, the simply functional web frameworkhttp://liftweb.net
> Collaborative Task Managementhttp://much4.us
>  todo.tgz
> 9KViewDownload
>
>  todo_steps.pdf
> 206KViewDownload

David Pollak

unread,
Dec 16, 2008, 6:12:29 PM12/16/08
to lif...@googlegroups.com
Paul,

It looks like the various Lift packages are not up to date in your Maven repository.

Please do a "mvn -U clean install" and see if that works any better.

Thanks,

David
Lift, the simply functional web framework http://liftweb.net
Collaborative Task Management http://much4.us

Paul O'Rorke

unread,
Dec 17, 2008, 1:14:11 AM12/17/08
to Lift
David: thanks for the suggestion. I did that in todo folder and got
the same errors.
then I deleted ~/.m2/net/liftweb and tried again and that seemed to
work.
the webapp runs fine now (thanks!)

I got a test failure on doing the mvn -U clean install:
It did not seem to affect anything but might be worth fixing anyway.
---Paul O

-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running com.liftworkshop.AppTest
[Fatal Error] :38:21: The entity "nbsp" was referenced, but not
declared.
Malformed XML in 1 file: src/main/webapp/index.html
Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.505
sec <<< FAILURE!

Results :

Failed tests:
testXml(com.liftworkshop.AppTest)

Tests run: 2, Failures: 1, Errors: 0, Skipped: 0

[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] There are test failures.










On Dec 16, 3:12 pm, "David Pollak" <feeder.of.the.be...@gmail.com>
wrote:
> Paul,
>
> It looks like the various Lift packages are not up to date in your Maven
> repository.
>
> Please do a "mvn -U clean install" and see if that works any better.
>
> Thanks,
>
> David
>
> ...
>
> read more »

Mark Chadwick

unread,
Dec 21, 2008, 5:47:42 PM12/21/08
to lif...@googlegroups.com
I'm new to Scala (and consequently Lift), so it's likely an error on my part.  But, the snippet for binding user names to the template on page 13 tripped me up a bit.  Specifying the return type as NodeSeq property flatMapped the list to a single NodeSeq.  The function as it was written was returning a List[NodeSeq], which was leaving my template untouched.

Probably just my setup.  Though I'd point it out, though.

Really enjoying Lift,
-Mark

Saarela

unread,
Dec 22, 2008, 12:56:59 AM12/22/08
to Lift
Hi

Lift looks really beautiful..

I tried the demo app, tried following the instructions quite closely
and created a model Todo.scala, but when I try "mvn install
jetty:run", the Scala compiler complains that it can't find the
package IdPK..I wonder if I'm doing something wrong..

Which version of Lift does the default build of the demo app link
against?

David Pollak

unread,
Dec 22, 2008, 9:13:03 AM12/22/08
to lif...@googlegroups.com
0.10-SNAPSHOT

If you create the app with the mvn statement at the beginning of the document, you'll get an app that compiles against the latest SNAPSHOT.

Thanks,

David
 



David Pollak

unread,
Dec 22, 2008, 7:12:00 PM12/22/08
to lif...@googlegroups.com
On Sun, Dec 21, 2008 at 2:47 PM, Mark Chadwick <mark.c...@gmail.com> wrote:
I'm new to Scala (and consequently Lift), so it's likely an error on my part.  But, the snippet for binding user names to the template on page 13 tripped me up a bit.  Specifying the return type as NodeSeq property flatMapped the list to a single NodeSeq.  The function as it was written was returning a List[NodeSeq], which was leaving my template untouched.

Yeah... I copied and pasted that code from an older example.  I'll fix up the text to include the explicit return type.

Thanks.
 
Reply all
Reply to author
Forward
0 new messages