I was hoping to be able to use the maven archetype. I pulled it down
and tried to upgrade it to lift 1.0 and scala 2.74.final, but it blew
up.

Any plans for updating the archetype? Or any hints on getting it to
work?

Todd


stack traces:
[INFO] Compiling 3 source files to /Users/todd/IdeaProjects/lifttest/
target/classes
[WARNING] /Users/todd/IdeaProjects/lifttest/src/main/scala/lifttest/
model/User.scala:9: error: wrong number of type arguments for
net.liftweb.mapper.MetaMegaProtoUser, should be 1
[WARNING] object User extends User with MetaMegaProtoUser[User, User
with KeyedMetaMapper[Long, User]] {
[WARNING]                               ^
[WARNING] /Users/todd/IdeaProjects/lifttest/src/main/scala/lifttest/
model/User.scala:26: error: type mismatch;
[WARNING]  found   : lifttest.model.User.type (with underlying type
object lifttest.model.User)
[WARNING]  required: net.liftweb.mapper.KeyedMetaMapper
[Long,lifttest.model.User]
[WARNING]   def getSingleton = User // what's the "meta" server
[WARNING]                      ^
[WARNING] /Users/todd/IdeaProjects/lifttest/src/main/scala/bootstrap/
liftweb/Boot.scala:21: error: overloaded method value schemify with
alternatives (Boolean,(=> AnyRef) =>
Unit,net.liftweb.mapper.ConnectionIdentifier,net.liftweb.mapper.BaseMetaMapper*)
List[String] <and> (Boolean,(=> AnyRef) =>
Unit,net.liftweb.mapper.BaseMetaMapper*)List[String] cannot be applied
to (Boolean,(=> AnyRef) => Unit,lifttest.model.User.type)
[WARNING]     Schemifier.schemify(true, Log.infoF _, User)
[WARNING]                ^
[WARNING] /Users/todd/IdeaProjects/lifttest/src/main/scala/bootstrap/
liftweb/Boot.scala:23: error: value addTemplateBefore is not a member
of object net.liftweb.http.LiftRules
[WARNING]     LiftRules.addTemplateBefore(User.templates)
[WARNING]               ^
[WARNING] /Users/todd/IdeaProjects/lifttest/src/main/scala/bootstrap/
liftweb/Boot.scala:26: error: type mismatch;
[WARNING]  found   : java.lang.String("/")
[WARNING]  required: net.liftweb.sitemap.Loc.Link
[net.liftweb.sitemap.NullLocParams]
[WARNING]     val entries = Menu(Loc("Home", "/", "Home")) ::
User.sitemap
[WARNING]                                    ^
[WARNING] /Users/todd/IdeaProjects/lifttest/src/main/scala/bootstrap/
liftweb/Boot.scala:26: error: value sitemap is not a member of object
lifttest.model.User
[WARNING]     val entries = Menu(Loc("Home", "/", "Home")) ::
User.sitemap
[WARNING]                                                          ^
[WARNING] /Users/todd/IdeaProjects/lifttest/src/main/scala/bootstrap/
liftweb/Boot.scala:28: error: value requestLoans is not a member of
object lifttest.model.User
[WARNING]     S.addAround(User.requestLoans)
[WARNING]                      ^
[WARNING] /Users/todd/IdeaProjects/lifttest/src/main/scala/bootstrap/
liftweb/Boot.scala:34: error: not found: type Can
[WARNING]   def newConnection(name: ConnectionIdentifier): Can
[Connection] = {
[WARNING]                                                  ^
[WARNING] 8 errors found
[INFO] ---------------------------------------

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to