incubator-esme-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Pollak <feeder.of.the.be...@gmail.com>
Subject Re: Tests failing to run with "mvn clean test" - trunk/server revision 886861
Date Thu, 03 Dec 2009 20:45:03 GMT
Ethan,

Can you tar up the sources and email them to me privately?  I'd like to test
*exactly* what you're testing.

Also, please try doing a "mvn -U clean test"

Thanks,

David

On Thu, Dec 3, 2009 at 12:36 PM, Ethan Jewett <esjewett@gmail.com> wrote:

> Another update ...
>
> If I check out all the way back to revision 885151 I can build fine
> and it passes all unit tests. In revision 885333 I get tons of errors
> during compilation, mostly having to do with the User.scala file.
> (Errors below)
>
> If I move up to to revision 886910 (the current revision), I get the
> error I sent originally during test execution, which does appear to
> have something to do with the User.scala file and the S. expression.
>
> I'm not understanding how this can run successfully on one person's
> system and not another. Scala version perhaps?
>
> Ethan
>
> Revision 885333 errors (during compilation):
>
> [INFO] Compiling 49 source files to
> /Users/esjewett/svn_repos/esme/trunk/server/target/classes
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/bootstrap/liftweb/Boot.scala:40:
> error: not found: value view
> [WARNING] import view._
> [WARNING]        ^
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/bootstrap/liftweb/Boot.scala:309:
> error: missing parameter type for expanded function ((x0$1) => x0$1
> match {
> [WARNING]   case SessionWatcherInfo((sessions @ _)) => {
> [WARNING]     Stats.getCounter("liftSessions").update(sessions.size);
> [WARNING]     if (millis.$minus(tenMinutes).$greater(lastTime))
> [WARNING]       {
> [WARNING]         lastTime = millis;
> [WARNING]         val rt = Runtime.getRuntime;
> [WARNING]         rt.gc;
> [WARNING]         val dateStr: String = timeNow.toString;
> [WARNING]         Log.info("[MEMDEBUG] At ".$plus(dateStr).$plus("
> Number of open sessions: ").$plus(sessions.size));
> [WARNING]         Log.info("[MEMDEBUG] Free Memory:
> ".$plus(pretty(rt.freeMemory)));
> [WARNING]         Log.info("[MEMDEBUG] Total Memory:
> ".$plus(pretty(rt.totalMemory)))
> [WARNING]       }
> [WARNING]   }
> [WARNING] })
> [WARNING]   protected def messageHandler = {
> [WARNING]                                  ^
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/model/User.scala:45:
> error: value view is not a member of package org.apache.esme
> [WARNING] import org.apache.esme.view._
> [WARNING]                        ^
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/actor/Distributor.scala:50:
> error: value findAll is not a member of object
> org.apache.esme.model.User
> [WARNING]         User.findAll.map(_.id.is).foreach(findOrCreateUser)
> [WARNING]              ^
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/actor/HttpSender.scala:86:
> error: value find is not a member of object org.apache.esme.model.User
> [WARNING]       case Some(followerId) =>
> User.find(followerId).map[String](_ nickname).openOr("N/A")
> [WARNING]                                     ^
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/actor/HttpSender.scala:90:
> error: overloaded method value replace with alternatives
> (java.lang.CharSequence,java.lang.CharSequence)java.lang.String <and>
> (Char,Char)java.lang.String cannot be applied to
> (java.lang.String,user.nickname.type)
> [WARNING]     text.replace("%u", user.nickname).
> [WARNING]          ^
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/model/Action.scala:230:
> error: type mismatch;
> [WARNING]  found   : org.apache.esme.model.User.type (with underlying
> type object org.apache.esme.model.User)
> [WARNING]  required: net.liftweb.mapper.KeyedMetaMapper[Long,?]
> [WARNING]   object user extends MappedLongForeignKey(this, User)
> [WARNING]                                                  ^
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/actor/SchedulerActor.scala:42:
> error: type mismatch;
> [WARNING]  found   : action.user.type (with underlying type object
> action.user)
> [WARNING]  required: Long
> [WARNING]       val regularActor = new SchedulerActor(Distributor,
> action.user, everySeconds, RegularReason(id))
> [WARNING]                                                                 ^
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/model/Message.scala:226:
> error: type mismatch;
> [WARNING]  found   : org.apache.esme.model.User.type (with underlying
> type object org.apache.esme.model.User)
> [WARNING]  required: net.liftweb.mapper.KeyedMetaMapper[Long,?]
> [WARNING]   object author extends MappedLongForeignKey(this, User) {
> [WARNING]                                                    ^
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/actor/SchedulerActor.scala:88:
> error: org.apache.esme.model.Message.create.author of type object
> org.apache.esme.model.Message#author does not take parameters
> [WARNING]       Message.create.author(user).
> [WARNING]                      ^
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/actor/UserActor.scala:94:
> error: value find is not a member of object org.apache.esme.model.User
> [WARNING]         User.find(userId).
> [WARNING]              ^
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/actor/UserActor.scala:100:
> error: value find is not a member of object org.apache.esme.model.User
> [WARNING]         User.find(userId).
> [WARNING]              ^
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/actor/UserActor.scala:125:
> error: org.apache.esme.model.Message.create.author of type object
> org.apache.esme.model.Message#author does not take parameters
> [WARNING]         Message.create.author(userId).when(when).
> [WARNING]                        ^
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/model/Tracking.scala:58:
> error: type mismatch;
> [WARNING]  found   : org.apache.esme.model.User.type (with underlying
> type object org.apache.esme.model.User)
> [WARNING]  required: net.liftweb.mapper.KeyedMetaMapper[Long,?]
> [WARNING]     object user extends MappedLongForeignKey(this, User)
> [WARNING]                                                    ^
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/actor/UserActor.scala:183:
> error: overloaded method value apply with alternatives [O <:
> net.liftweb.mapper.Mapper[O],T,Q <:
>
> net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],net.liftweb.common.Box[Q])net.liftweb.mapper.Cmp[O,T]
> <and> [O <: net.liftweb.mapper.Mapper[O],T,Q <:
>
> net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],Q)net.liftweb.mapper.Cmp[O,T]
> <and> [O <:
> net.liftweb.mapper.Mapper[O],T](net.liftweb.mapper.MappedNullableField[T,O],net.liftweb.common.Box[T])net.liftweb.mapper.Cmp[O,net.liftweb.common.Box[T]]
> <and> [O <:
> net.liftweb.mapper.Mapper[O],T,U](net.liftweb.mapper.MappedField[T,O],U)(implicit
> (U) => T)net.liftweb.mapper.Cmp[O,T] cannot be applied to
> (org.apache.esme.model.Tracking.user.type,Long)
> [WARNING]             tracking = Tracking.findAll(By(Tracking.user,
> userId),
> [WARNING]                                         ^
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/actor/UserActor.scala:189:
> error: overloaded method value apply with alternatives [O <:
> net.liftweb.mapper.Mapper[O],T,Q <:
>
> net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],net.liftweb.common.Box[Q])net.liftweb.mapper.Cmp[O,T]
> <and> [O <: net.liftweb.mapper.Mapper[O],T,Q <:
>
> net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],Q)net.liftweb.mapper.Cmp[O,T]
> <and> [O <:
> net.liftweb.mapper.Mapper[O],T](net.liftweb.mapper.MappedNullableField[T,O],net.liftweb.common.Box[T])net.liftweb.mapper.Cmp[O,net.liftweb.common.Box[T]]
> <and> [O <:
> net.liftweb.mapper.Mapper[O],T,U](net.liftweb.mapper.MappedField[T,O],U)(implicit
> (U) => T)net.liftweb.mapper.Cmp[O,T] cannot be applied to
> (org.apache.esme.model.Action.user.type,Long)
> [WARNING]             perform = Action.findAll(By(Action.user, userId),
> [WARNING]                                      ^
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/model/Mailbox.scala:68:
> error: type mismatch;
> [WARNING]  found   : org.apache.esme.model.User.type (with underlying
> type object org.apache.esme.model.User)
> [WARNING]  required: net.liftweb.mapper.KeyedMetaMapper[Long,?]
> [WARNING]   object user extends MappedLongForeignKey(this, User)
> [WARNING]                                                  ^
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/model/Mailbox.scala:52:
> error: type mismatch;
> [WARNING]  found   : org.apache.esme.model.Mailbox.user.type (with
> underlying type object org.apache.esme.model.Mailbox.user)
> [WARNING]  required: net.liftweb.mapper.IndexItem[?]
> [WARNING]   override def dbIndexes = Index(user, message) ::
> super.dbIndexes
> [WARNING]                                  ^
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/actor/UserActor.scala:210:
> error: overloaded method value apply with alternatives [O <:
> net.liftweb.mapper.Mapper[O],T,Q <:
>
> net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],net.liftweb.common.Box[Q])net.liftweb.mapper.Cmp[O,T]
> <and> [O <: net.liftweb.mapper.Mapper[O],T,Q <:
>
> net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],Q)net.liftweb.mapper.Cmp[O,T]
> <and> [O <:
> net.liftweb.mapper.Mapper[O],T](net.liftweb.mapper.MappedNullableField[T,O],net.liftweb.common.Box[T])net.liftweb.mapper.Cmp[O,net.liftweb.common.Box[T]]
> <and> [O <:
> net.liftweb.mapper.Mapper[O],T,U](net.liftweb.mapper.MappedField[T,O],U)(implicit
> (U) => T)net.liftweb.mapper.Cmp[O,T] cannot be applied to
> (org.apache.esme.model.Mailbox.user.type,Long)
> [WARNING]                        By(Mailbox.user, userId)).foreach { m =>
> [WARNING]                        ^
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/actor/UserActor.scala:235:
> error: overloaded method value apply with alternatives [O <:
> net.liftweb.mapper.Mapper[O],T,Q <:
>
> net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],net.liftweb.common.Box[Q])net.liftweb.mapper.Cmp[O,T]
> <and> [O <: net.liftweb.mapper.Mapper[O],T,Q <:
>
> net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],Q)net.liftweb.mapper.Cmp[O,T]
> <and> [O <:
> net.liftweb.mapper.Mapper[O],T](net.liftweb.mapper.MappedNullableField[T,O],net.liftweb.common.Box[T])net.liftweb.mapper.Cmp[O,net.liftweb.common.Box[T]]
> <and> [O <:
> net.liftweb.mapper.Mapper[O],T,U](net.liftweb.mapper.MappedField[T,O],U)(implicit
> (U) => T)net.liftweb.mapper.Cmp[O,T] cannot be applied to
> (org.apache.esme.model.Mailbox.user.type,Long)
> [WARNING]                      By(Mailbox.user, userId)).isEmpty) {
> [WARNING]                      ^
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/actor/UserActor.scala:246:
> error: org.apache.esme.model.Mailbox.create.user of type object
> org.apache.esme.model.Mailbox#user does not take parameters
> [WARNING]         val mb = Mailbox.create.user(userId).message(msg)
> [WARNING]                                 ^
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/actor/UserActor.scala:270:
> error: value find is not a member of object org.apache.esme.model.User
> [WARNING]               User.find(userId).foreach( u =>
> [WARNING]                    ^
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/model/AuthToken.scala:54:
> error: type mismatch;
> [WARNING]  found   : org.apache.esme.model.User.type (with underlying
> type object org.apache.esme.model.User)
> [WARNING]  required: net.liftweb.mapper.KeyedMetaMapper[Long,?]
> [WARNING]   object user extends MappedLongForeignKey(this, User)
> [WARNING]                                                  ^
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/api/API2.scala:126:
> error: value obj is not a member of object auth.user
> [WARNING]         user <- auth.user.obj
> [WARNING]                           ^
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/api/API2.scala:153:
> error: value findAll is not a member of object
> org.apache.esme.model.User
> [WARNING]       val users: NodeSeq = for (user <- User.findAll) yield
> userToXml(user)
> [WARNING]                                                ^
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/api/API2.scala:164:
> error: type mismatch;
> [WARNING]  found   : user.id.type (with underlying type object user.id)
> [WARNING]  required: Long
> [WARNING]         val lst = Mailbox.mostRecentMessagesFor(user.id, num))
> [WARNING]                                                      ^
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/api/API2.scala:230:
> error: value is is not a member of object x$8.id
> [WARNING]       for (user <- calcUser.map(_.id.is) ?~
> S.?("base_rest_api_err_param_not_found", "User");
> [WARNING]                                      ^
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/api/RestAPI.scala:207:
> error: value findAll is not a member of object
> org.apache.esme.model.User
> [WARNING]   for (user <- User.findAll) yield user.toXml
> [WARNING]                     ^
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/api/RestAPI.scala:249:
> error: value obj is not a member of object auth.user
> [WARNING]          user <- auth.user.obj;
> [WARNING]                            ^
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/api/RestAPI.scala:284:
> error: value can is not a member of object auth.user
> [WARNING]          userId <- auth.user.can;
> [WARNING]                              ^
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/api/RestAPI.scala:324:
> error: type mismatch;
> [WARNING]  found   : user.id.type (with underlying type object user.id)
> [WARNING]  required: Long
> [WARNING]                val lst = Mailbox.mostRecentMessagesFor(user.id,
> 40))
> [WARNING]                                                             ^
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/api/RestAPI.scala:337:
> error: type mismatch;
> [WARNING]  found   : user.id.type (with underlying type object user.id)
> [WARNING]  required: Long
> [WARNING]          val lst = Mailbox.mostRecentMessagesFor(user.id,
> numMsgs).map(_._1))
> [WARNING]                                                       ^
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/model/Mailbox.scala:73:
> error: type mismatch;
> [WARNING]  found   : org.apache.esme.model.User.type (with underlying
> type object org.apache.esme.model.User)
> [WARNING]  required: net.liftweb.mapper.KeyedMetaMapper[Long,?]
> [WARNING]   object resentBy extends MappedLongForeignKey(this, User)
> [WARNING]                                                      ^
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/api/TwitterAPI.scala:63:
> error: overloaded method value apply with alternatives [O <:
> net.liftweb.mapper.Mapper[O],T,Q <:
>
> net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],net.liftweb.common.Box[Q])net.liftweb.mapper.Cmp[O,T]
> <and> [O <: net.liftweb.mapper.Mapper[O],T,Q <:
>
> net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],Q)net.liftweb.mapper.Cmp[O,T]
> <and> [O <:
> net.liftweb.mapper.Mapper[O],T](net.liftweb.mapper.MappedNullableField[T,O],net.liftweb.common.Box[T])net.liftweb.mapper.Cmp[O,net.liftweb.common.Box[T]]
> <and> [O <:
> net.liftweb.mapper.Mapper[O],T,U](net.liftweb.mapper.MappedField[T,O],U)(implicit
> (U) => T)net.liftweb.mapper.Cmp[O,T] cannot be applied to
> (org.apache.esme.model.Mailbox.resentBy.type,net.liftweb.common.Empty.type)
> [WARNING]   val ToMe = NotBy(Mailbox.resentBy, Empty)
> [WARNING]              ^
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/api/TwitterAPI.scala:68:
> error: value obj is not a member of object auth.user
> [WARNING]            u <- auth.user.obj
> [WARNING]                           ^
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/api/TwitterAPI.scala:140:
> error: value is is not a member of object x$3.author
> [WARNING]         map(_.author.is).getOrElse(None),
> [WARNING]                      ^
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/api/TwitterAPI.scala:144:
> error: value find is not a member of object org.apache.esme.model.User
> [WARNING]             User.find(msg.author).get.nickname
> [WARNING]                  ^
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/api/TwitterAPI.scala:165:
> error: overloaded method value apply with alternatives [O <:
> net.liftweb.mapper.Mapper[O],T,Q <:
>
> net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],net.liftweb.common.Box[Q])net.liftweb.mapper.Cmp[O,T]
> <and> [O <: net.liftweb.mapper.Mapper[O],T,Q <:
>
> net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],Q)net.liftweb.mapper.Cmp[O,T]
> <and> [O <:
> net.liftweb.mapper.Mapper[O],T](net.liftweb.mapper.MappedNullableField[T,O],net.liftweb.common.Box[T])net.liftweb.mapper.Cmp[O,net.liftweb.common.Box[T]]
> <and> [O <:
> net.liftweb.mapper.Mapper[O],T,U](net.liftweb.mapper.MappedField[T,O],U)(implicit
> (U) => T)net.liftweb.mapper.Cmp[O,T] cannot be applied to
> (org.apache.esme.model.Message.author.type,org.apache.esme.model.User)
> [WARNING]       "statuses_count " -> Message.count(By(Message.author,
> user))
> [WARNING]                                          ^
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/api/TwitterAPI.scala:171:
> error: overloaded method value apply with alternatives [O <:
> net.liftweb.mapper.Mapper[O],T,Q <:
>
> net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],net.liftweb.common.Box[Q])net.liftweb.mapper.Cmp[O,T]
> <and> [O <: net.liftweb.mapper.Mapper[O],T,Q <:
>
> net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],Q)net.liftweb.mapper.Cmp[O,T]
> <and> [O <:
> net.liftweb.mapper.Mapper[O],T](net.liftweb.mapper.MappedNullableField[T,O],net.liftweb.common.Box[T])net.liftweb.mapper.Cmp[O,net.liftweb.common.Box[T]]
> <and> [O <:
> net.liftweb.mapper.Mapper[O],T,U](net.liftweb.mapper.MappedField[T,O],U)(implicit
> (U) => T)net.liftweb.mapper.Cmp[O,T] cannot be applied to
> (org.apache.esme.model.Message.author.type,org.apache.esme.model.User)
> [WARNING]     val lastMsg = Message.findAll(By(Message.author, user),
> [WARNING]                                   ^
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/api/TwitterAPI.scala:182:
> error: value find is not a member of object org.apache.esme.model.User
> [WARNING]     val msgUser = User.find(msg.author).get
> [WARNING]                        ^
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/api/TwitterAPI.scala:194:
> error: type mismatch;
> [WARNING]  found   : user.id.type (with underlying type object user.id)
> [WARNING]  required: Long
> [WARNING]         for ((msg, why, _) <-
> Mailbox.mostRecentMessagesFor(user.id, 20))
> [WARNING]
>  ^
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/api/TwitterAPI.scala:202:
> error: overloaded method value apply with alternatives [O <:
> net.liftweb.mapper.Mapper[O],T,Q <:
>
> net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],net.liftweb.common.Box[Q])net.liftweb.mapper.Cmp[O,T]
> <and> [O <: net.liftweb.mapper.Mapper[O],T,Q <:
>
> net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],Q)net.liftweb.mapper.Cmp[O,T]
> <and> [O <:
> net.liftweb.mapper.Mapper[O],T](net.liftweb.mapper.MappedNullableField[T,O],net.liftweb.common.Box[T])net.liftweb.mapper.Cmp[O,net.liftweb.common.Box[T]]
> <and> [O <:
> net.liftweb.mapper.Mapper[O],T,U](net.liftweb.mapper.MappedField[T,O],U)(implicit
> (U) => T)net.liftweb.mapper.Cmp[O,T] cannot be applied to
> (org.apache.esme.model.Message.author.type,org.apache.esme.model.User)
> [WARNING]       Message.findAll(By(Message.author, user),
> [WARNING]                       ^
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/api/TwitterAPI.scala:219:
> error: overloaded method value apply with alternatives [O <:
> net.liftweb.mapper.Mapper[O],T,Q <:
>
> net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],net.liftweb.common.Box[Q])net.liftweb.mapper.Cmp[O,T]
> <and> [O <: net.liftweb.mapper.Mapper[O],T,Q <:
>
> net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],Q)net.liftweb.mapper.Cmp[O,T]
> <and> [O <:
> net.liftweb.mapper.Mapper[O],T](net.liftweb.mapper.MappedNullableField[T,O],net.liftweb.common.Box[T])net.liftweb.mapper.Cmp[O,net.liftweb.common.Box[T]]
> <and> [O <:
> net.liftweb.mapper.Mapper[O],T,U](net.liftweb.mapper.MappedField[T,O],U)(implicit
> (U) => T)net.liftweb.mapper.Cmp[O,T] cannot be applied to
> (org.apache.esme.model.Message.author.type,org.apache.esme.model.User)
> [WARNING]       Message.findAll(By(Message.author, user),
> [WARNING]                       ^
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/api/TwitterAPI.scala:247:
> error: org.apache.esme.model.Message.create.author of type object
> org.apache.esme.model.Message#author does not take parameters
> [WARNING]          msg <- Message.create.author(user.id.is).when(millis).
> [WARNING]                                ^
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/api/TwitterAPI.scala:332:
> error: overloaded method value apply with alternatives [O <:
> net.liftweb.mapper.Mapper[O],T,Q <:
>
> net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],net.liftweb.common.Box[Q])net.liftweb.mapper.Cmp[O,T]
> <and> [O <: net.liftweb.mapper.Mapper[O],T,Q <:
>
> net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],Q)net.liftweb.mapper.Cmp[O,T]
> <and> [O <:
> net.liftweb.mapper.Mapper[O],T](net.liftweb.mapper.MappedNullableField[T,O],net.liftweb.common.Box[T])net.liftweb.mapper.Cmp[O,net.liftweb.common.Box[T]]
> <and> [O <:
> net.liftweb.mapper.Mapper[O],T,U](net.liftweb.mapper.MappedField[T,O],U)(implicit
> (U) => T)net.liftweb.mapper.Cmp[O,T] cannot be applied to
> (org.apache.esme.model.Mailbox.user.type,org.apache.esme.model.User)
> [WARNING]                         By(Mailbox.user, user),
> [WARNING]                         ^
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/external/Feed.scala:50:
> error: type mismatch;
> [WARNING]  found   : Feed.this.user.id.type (with underlying type
> object Feed.this.user.id)
> [WARNING]  required: Long
> [WARNING]           if (user != null) {user.id} else 0,
> [WARNING]                                   ^
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/external/TwitterFeed.scala:51:
> error: type mismatch;
> [WARNING]  found   : TwitterFeed.this.user.id.type (with underlying
> type object TwitterFeed.this.user.id)
> [WARNING]  required: Long
> [WARNING]       user.id,
> [WARNING]            ^
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/model/AccessPool.scala:90:
> error: type mismatch;
> [WARNING]  found   : org.apache.esme.model.User.type (with underlying
> type object org.apache.esme.model.User)
> [WARNING]  required: net.liftweb.mapper.KeyedMetaMapper[Long,?]
> [WARNING]   object modifier extends MappedLongForeignKey(this,User)
> [WARNING]                                                     ^
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/model/AccessPool.scala:75:
> error: this.modifier of type object AccessPool.this.modifier does not
> take parameters
> [WARNING]       Full(this.modifier(User.currentUser))
> [WARNING]                 ^
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/model/Privilege.scala:96:
> error: type mismatch;
> [WARNING]  found   : org.apache.esme.model.User.type (with underlying
> type object org.apache.esme.model.User)
> [WARNING]  required: net.liftweb.mapper.KeyedMetaMapper[Long,?]
> [WARNING]   object user extends MappedLongForeignKey(this, User)
> [WARNING]                                                  ^
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/lib/AccessPoolMgr.scala:84:
> error: model.Privilege.create.pool.apply(p.saveMe()).user of type
> object org.apache.esme.model.Privilege#user does not take parameters
> [WARNING]
>
> Privilege.create.pool(p.saveMe).user(user).permission(Permission.Admin).save
> [WARNING]                                               ^
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/lib/AccessPoolMgr.scala:122:
> error: value id is not a member of Any
> [WARNING]       case Full(u)=> Privilege.findAdminPools(u.id).map(
> [WARNING]                                                 ^
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/lib/AccessPoolMgr.scala:180:
> error: value find is not a member of object org.apache.esme.model.User
> [WARNING]       User.find(uid) match {
> [WARNING]            ^
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/lib/AccessPoolMgr.scala:181:
> error: value nickname is not a member of Any
> [WARNING]         case Full(user) => <span>{user.nickname}</span>
> [WARNING]                                        ^
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/model/AccessPool.scala:88:
> error: type mismatch;
> [WARNING]  found   : org.apache.esme.model.User.type (with underlying
> type object org.apache.esme.model.User)
> [WARNING]  required: net.liftweb.mapper.KeyedMetaMapper[Long,?]
> [WARNING]   object creator extends MappedLongForeignKey(this,User)
> [WARNING]                                                    ^
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/lib/AccessPoolMgr.scala:191:
> error: type mismatch;
> [WARNING]  found   : ap.creator.type (with underlying type object
> ap.creator)
> [WARNING]  required: Long
> [WARNING]         "creator" -> displayUserName(ap.creator),
> [WARNING]                                         ^
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/lib/AccessPoolMgr.scala:217:
> error: value find is not a member of object org.apache.esme.model.User
> [WARNING]                                                    "name" ->
> User.find(i.user).map(
> [WARNING]
> ^
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/lib/ActionMgr.scala:78:
> error: overloaded method value apply with alternatives [O <:
> net.liftweb.mapper.Mapper[O],T,Q <:
>
> net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],net.liftweb.common.Box[Q])net.liftweb.mapper.Cmp[O,T]
> <and> [O <: net.liftweb.mapper.Mapper[O],T,Q <:
>
> net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],Q)net.liftweb.mapper.Cmp[O,T]
> <and> [O <:
> net.liftweb.mapper.Mapper[O],T](net.liftweb.mapper.MappedNullableField[T,O],net.liftweb.common.Box[T])net.liftweb.mapper.Cmp[O,net.liftweb.common.Box[T]]
> <and> [O <:
> net.liftweb.mapper.Mapper[O],T,U](net.liftweb.mapper.MappedField[T,O],U)(implicit
> (U) => T)net.liftweb.mapper.Cmp[O,T] cannot be applied to
> (org.apache.esme.model.Action.user.type,<error>)
> [WARNING]     Action.findAll(By(Action.user, user), By(Action.removed,
> false),
> [WARNING]                    ^
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/lib/ActionMgr.scala:112:
> error: model.Action.create.name.apply(name).user of type object
> org.apache.esme.model.Action#user does not take parameters
> [WARNING]       val toSave = Action.create.name(name).user(user)
> [WARNING]                                             ^
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/lib/AuthMgr.scala:78:
> error: overloaded method value apply with alternatives [O <:
> net.liftweb.mapper.Mapper[O],T,Q <:
>
> net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],net.liftweb.common.Box[Q])net.liftweb.mapper.Cmp[O,T]
> <and> [O <: net.liftweb.mapper.Mapper[O],T,Q <:
>
> net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],Q)net.liftweb.mapper.Cmp[O,T]
> <and> [O <:
> net.liftweb.mapper.Mapper[O],T](net.liftweb.mapper.MappedNullableField[T,O],net.liftweb.common.Box[T])net.liftweb.mapper.Cmp[O,net.liftweb.common.Box[T]]
> <and> [O <:
> net.liftweb.mapper.Mapper[O],T,U](net.liftweb.mapper.MappedField[T,O],U)(implicit
> (U) => T)net.liftweb.mapper.Cmp[O,T] cannot be applied to
> (org.apache.esme.model.AuthToken.user.type,<error>)
> [WARNING]     AuthToken.findAll(By(AuthToken.user, user),
> [WARNING]                       ^
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/lib/AuthMgr.scala:107:
> error: model.AuthToken.create.description.apply(x).user of type object
> org.apache.esme.model.AuthToken#user does not take parameters
> [WARNING]         case x =>
> AuthToken.create.description(x).user(user).saveMe
> [WARNING]                                                   ^
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/lib/MsgParser.scala:74:
> error: value find is not a member of object org.apache.esme.model.User
> [WARNING]       User.find(By(User.nickname, nickName)) match {
> [WARNING]            ^
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/lib/MsgParser.scala:75:
> error: type mismatch;
> [WARNING]  found   : Any
> [WARNING]  required: org.apache.esme.model.User
> [WARNING]         case Full(u) => AtName(u)
> [WARNING]                                ^
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/lib/MsgParser.scala:90:
> error: value find is not a member of object org.apache.esme.model.User
> [WARNING]       User.find(By(User.nickname, name)) match {
> [WARNING]            ^
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/lib/MsgParser.scala:91:
> error: type mismatch;
> [WARNING]  found   : Any
> [WARNING]  required: org.apache.esme.model.User
> [WARNING]         case Full(u) => ResenderName(u)
> [WARNING]                                      ^
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/lib/MsgParser.scala:399:
> error: type mismatch;
> [WARNING]  found   : user.id.type (with underlying type object user.id)
> [WARNING]  required: Long
> [WARNING]       case ResenderName(user) => ResentAction(user.id)
> [WARNING]                                                    ^
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/lib/MsgParser.scala:407:
> error: type mismatch;
> [WARNING]  found   : user.id.type (with underlying type object user.id)
> [WARNING]  required: Long
> [WARNING]       case AtName(user) => AtUserAction(user.id)
> [WARNING]                                              ^
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/lib/StreamMgr.scala:49:
> error: value defaultValue is not a member of object
> org.apache.esme.model.User.id
> [WARNING]   val AnyResender = User.id.defaultValue
> [WARNING]                             ^
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/lib/StreamMgr.scala:80:
> error: overloaded method value apply with alternatives [O <:
> net.liftweb.mapper.Mapper[O],T,Q <:
>
> net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],net.liftweb.common.Box[Q])net.liftweb.mapper.Cmp[O,T]
> <and> [O <: net.liftweb.mapper.Mapper[O],T,Q <:
>
> net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],Q)net.liftweb.mapper.Cmp[O,T]
> <and> [O <:
> net.liftweb.mapper.Mapper[O],T](net.liftweb.mapper.MappedNullableField[T,O],net.liftweb.common.Box[T])net.liftweb.mapper.Cmp[O,net.liftweb.common.Box[T]]
> <and> [O <:
> net.liftweb.mapper.Mapper[O],T,U](net.liftweb.mapper.MappedField[T,O],U)(implicit
> (U) => T)net.liftweb.mapper.Cmp[O,T] cannot be applied to
> (org.apache.esme.model.Mailbox.resentBy.type,net.liftweb.common.Empty.type)
> [WARNING]           case AnyResender => NotBy(Mailbox.resentBy, Empty)
> [WARNING]                               ^
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/lib/StreamMgr.scala:81:
> error: overloaded method value apply with alternatives [O <:
> net.liftweb.mapper.Mapper[O],T,Q <:
>
> net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],net.liftweb.common.Box[Q])net.liftweb.mapper.Cmp[O,T]
> <and> [O <: net.liftweb.mapper.Mapper[O],T,Q <:
>
> net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],Q)net.liftweb.mapper.Cmp[O,T]
> <and> [O <:
> net.liftweb.mapper.Mapper[O],T](net.liftweb.mapper.MappedNullableField[T,O],net.liftweb.common.Box[T])net.liftweb.mapper.Cmp[O,net.liftweb.common.Box[T]]
> <and> [O <:
> net.liftweb.mapper.Mapper[O],T,U](net.liftweb.mapper.MappedField[T,O],U)(implicit
> (U) => T)net.liftweb.mapper.Cmp[O,T] cannot be applied to
> (org.apache.esme.model.Mailbox.resentBy.type,Long)
> [WARNING]           case id => By(Mailbox.resentBy, id)
> [WARNING]                      ^
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/lib/StreamMgr.scala:83:
> error: overloaded method value apply with alternatives [O <:
> net.liftweb.mapper.Mapper[O],T,Q <:
>
> net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],net.liftweb.common.Box[Q])net.liftweb.mapper.Cmp[O,T]
> <and> [O <: net.liftweb.mapper.Mapper[O],T,Q <:
>
> net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],Q)net.liftweb.mapper.Cmp[O,T]
> <and> [O <:
> net.liftweb.mapper.Mapper[O],T](net.liftweb.mapper.MappedNullableField[T,O],net.liftweb.common.Box[T])net.liftweb.mapper.Cmp[O,net.liftweb.common.Box[T]]
> <and> [O <:
> net.liftweb.mapper.Mapper[O],T,U](net.liftweb.mapper.MappedField[T,O],U)(implicit
> (U) => T)net.liftweb.mapper.Cmp[O,T] cannot be applied to
> (org.apache.esme.model.Mailbox.user.type,<error>)
> [WARNING]         List(In(Message.id,Mailbox.message,By(Mailbox.user,
> user), queryParam))
> [WARNING]                                            ^
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/lib/StreamMgr.scala:127:
> error: value following is not a member of Any
> [WARNING]       case Full(u) => u.following.map(u =>
> (u.id.is.toString, u.nickname.is) )
> [WARNING]                         ^
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/lib/StreamMgr.scala:133:
> error: value id is not a member of Any
> [WARNING]       case Full(u)=> Privilege.findViewablePools(u.id).map(
> [WARNING]                                                    ^
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/lib/TrackMgr.scala:68:
> error: overloaded method value apply with alternatives [O <:
> net.liftweb.mapper.Mapper[O],T,Q <:
>
> net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],net.liftweb.common.Box[Q])net.liftweb.mapper.Cmp[O,T]
> <and> [O <: net.liftweb.mapper.Mapper[O],T,Q <:
>
> net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],Q)net.liftweb.mapper.Cmp[O,T]
> <and> [O <:
> net.liftweb.mapper.Mapper[O],T](net.liftweb.mapper.MappedNullableField[T,O],net.liftweb.common.Box[T])net.liftweb.mapper.Cmp[O,net.liftweb.common.Box[T]]
> <and> [O <:
> net.liftweb.mapper.Mapper[O],T,U](net.liftweb.mapper.MappedField[T,O],U)(implicit
> (U) => T)net.liftweb.mapper.Cmp[O,T] cannot be applied to
> (org.apache.esme.model.Tracking.user.type,<error>)
> [WARNING]     Tracking.findAll(By(Tracking.user, user),
> By(Tracking.removed, false),
> [WARNING]                      ^
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/lib/TrackMgr.scala:97:
> error: model.Tracking.create.regex(x).user of type object
> org.apache.esme.model.Tracking#user does not take parameters
> [WARNING]         case x => Tracking.create.regex(x).user(user).saveMe
> [WARNING]                                            ^
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/lib/UserMgr.scala:58:
> error: value findAll is not a member of object
> org.apache.esme.model.User
> [WARNING]     val users = User.findAll(OrderBy(User.nickname, Ascending))
> [WARNING]                      ^
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/lib/UserMgr.scala:76:
> error: value is is not a member of object u.nickname
> [WARNING]     <a href={"/user/" + urlEncode(u.nickname.is
> )}>{u.niceName}</a>
> [WARNING]                                              ^
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/lib/UserMgr.scala:82:
> error: overloaded method value apply with alternatives [O <:
> net.liftweb.mapper.Mapper[O],T,Q <:
>
> net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],net.liftweb.common.Box[Q])net.liftweb.mapper.Cmp[O,T]
> <and> [O <: net.liftweb.mapper.Mapper[O],T,Q <:
>
> net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],Q)net.liftweb.mapper.Cmp[O,T]
> <and> [O <:
> net.liftweb.mapper.Mapper[O],T](net.liftweb.mapper.MappedNullableField[T,O],net.liftweb.common.Box[T])net.liftweb.mapper.Cmp[O,net.liftweb.common.Box[T]]
> <and> [O <:
> net.liftweb.mapper.Mapper[O],T,U](net.liftweb.mapper.MappedField[T,O],U)(implicit
> (U) => T)net.liftweb.mapper.Cmp[O,T] cannot be applied to
> (org.apache.esme.model.Message.author.type,org.apache.esme.model.User)
> [WARNING]     Message.findAll(By(Message.author, user),
> OrderBy(Message.id, Descending), MaxRows(1)) match {
> [WARNING]                     ^
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/lib/UserMgr.scala:84:
> error: value getText is not a member of Any
> [WARNING]       case msg :: _ => (msg.getText,
> dateFormatter.format(msg.getWhen))
> [WARNING]                             ^
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/lib/UserMgr.scala:84:
> error: value getWhen is not a member of Any
> [WARNING]       case msg :: _ => (msg.getText,
> dateFormatter.format(msg.getWhen))
> [WARNING]                                                               ^
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/model/AccessPool.scala:45:
> error: ap.creator of type object ap.creator does not take parameters
> [WARNING]     ap.creator(User.currentUser)
> [WARNING]        ^
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/model/AccessPool.scala:88:
> error: wrong number of arguments for constructor Object:
> ()java.lang.Object
> [WARNING]   object creator extends MappedLongForeignKey(this,User)
> [WARNING]                          ^
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/model/AccessPool.scala:90:
> error: wrong number of arguments for constructor Object:
> ()java.lang.Object
> [WARNING]   object modifier extends MappedLongForeignKey(this,User)
> [WARNING]                           ^
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/model/Action.scala:43:
> error: type mismatch;
> [WARNING]  found   : in.user.type (with underlying type object in.user)
> [WARNING]  required: Long
> [WARNING]     Distributor ! Distributor.UpdateTrackingFor(in.user,
> [WARNING]                                                    ^
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/model/Action.scala:108:
> error: value is is not a member of object m.author
> [WARNING]       (m, u, c, r) => m.author.is == userId
> [WARNING]                                ^
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/model/Action.scala:198:
> error: value find is not a member of object org.apache.esme.model.User
> [WARNING]         User.find(user) match {
> [WARNING]              ^
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/model/Action.scala:206:
> error: type mismatch;
> [WARNING]  found   : Action.this.user.type (with underlying type
> object Action.this.user)
> [WARNING]  required: Long
> [WARNING]                 Some(Distributor.UserCreatedMessage(user,
> m.getText, m.tags, m.when, Empty, m.source, Full(m.replyTo), None))
> [WARNING]                                                     ^
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/model/Action.scala:210:
> error: type mismatch;
> [WARNING]  found   : Any
> [WARNING]  required: org.apache.esme.model.User
> [WARNING]               case FetchAtom(_, _) => new AtomFeed(u,
> url.url, urlSourcePrefix + url.uniqueId, 0, tags)
> [WARNING]                                                    ^
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/model/Action.scala:211:
> error: type mismatch;
> [WARNING]  found   : Any
> [WARNING]  required: org.apache.esme.model.User
> [WARNING]               case FetchRss(_, _) => new RssFeed(u, url.url,
> urlSourcePrefix + url.uniqueId, 0, tags)
> [WARNING]                                                  ^
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/model/Action.scala:230:
> error: wrong number of arguments for constructor Object:
> ()java.lang.Object
> [WARNING]   object user extends MappedLongForeignKey(this, User)
> [WARNING]                       ^
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/model/AuthToken.scala:54:
> error: wrong number of arguments for constructor Object:
> ()java.lang.Object
> [WARNING]   object user extends MappedLongForeignKey(this, User)
> [WARNING]                       ^
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/model/Mailbox.scala:42:
> error: overloaded method value apply with alternatives [O <:
> net.liftweb.mapper.Mapper[O],T,Q <:
>
> net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],net.liftweb.common.Box[Q])net.liftweb.mapper.Cmp[O,T]
> <and> [O <: net.liftweb.mapper.Mapper[O],T,Q <:
>
> net.liftweb.mapper.KeyedMapper[T,Q]](net.liftweb.mapper.MappedForeignKey[T,O,Q],Q)net.liftweb.mapper.Cmp[O,T]
> <and> [O <:
> net.liftweb.mapper.Mapper[O],T](net.liftweb.mapper.MappedNullableField[T,O],net.liftweb.common.Box[T])net.liftweb.mapper.Cmp[O,net.liftweb.common.Box[T]]
> <and> [O <:
> net.liftweb.mapper.Mapper[O],T,U](net.liftweb.mapper.MappedField[T,O],U)(implicit
> (U) => T)net.liftweb.mapper.Cmp[O,T] cannot be applied to
> (org.apache.esme.model.Mailbox.user.type,Long)
> [WARNING]     val mb = findAll(By(user, userId), OrderBy(id, Descending),
> [WARNING]                      ^
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/model/Mailbox.scala:68:
> error: wrong number of arguments for constructor Object:
> ()java.lang.Object
> [WARNING]   object user extends MappedLongForeignKey(this, User)
> [WARNING]                       ^
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/model/Mailbox.scala:71:
> error: type mismatch;
> [WARNING]  found   : org.apache.esme.model.User.type (with underlying
> type object org.apache.esme.model.User)
> [WARNING]  required: net.liftweb.mapper.KeyedMetaMapper[Long,?]
> [WARNING]   object directlyFrom extends MappedLongForeignKey(this, User)
> [WARNING]                                                          ^
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/model/Mailbox.scala:71:
> error: wrong number of arguments for constructor Object:
> ()java.lang.Object
> [WARNING]   object directlyFrom extends MappedLongForeignKey(this, User)
> [WARNING]                               ^
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/model/Mailbox.scala:73:
> error: wrong number of arguments for constructor Object:
> ()java.lang.Object
> [WARNING]   object resentBy extends MappedLongForeignKey(this, User)
> [WARNING]                           ^
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/model/Mailbox.scala:77:
> error: value can is not a member of object Mailbox.this.directlyFrom
> [WARNING]   viaTrack.can.map(TrackReason) or
> directlyFrom.can.map(DirectReason)  or
> [WARNING]                                                 ^
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/model/Mailbox.scala:94:
> error: value find is not a member of object org.apache.esme.model.User
> [WARNING]     User.find(fromUserId).map(_.asJs) openOr JsNull
> [WARNING]          ^
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/model/MessageTag.scala:42:
> error: type mismatch;
> [WARNING]  found   : org.apache.esme.model.User.type (with underlying
> type object org.apache.esme.model.User)
> [WARNING]  required: net.liftweb.mapper.KeyedMetaMapper[Long,?]
> [WARNING]   object sentTo extends MappedLongForeignKey(this, User)
> [WARNING]                                                    ^
> [WARNING]
> /Users/esjewett/svn_repos/esme/trunk/server/src/main/scala/org/apache/esme/model/Message.scala:359:
> error: MessageTag.create.message.apply(this).sentTo of type object
> org.apache.esme.model.MessageTag#sentTo does not take parameters
> [WARNING]     MessageTag.create.message(this).sentTo(sentTo).save
> [WARNING]                                     ^
> [WARNING] 196 errors found
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
>



-- 
Lift, the simply functional web framework http://liftweb.net
Beginning Scala http://www.apress.com/book/view/1430219890
Follow me: http://twitter.com/dpp
Surf the harmonics

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message