I found,

comment out this line as follows:

//import TimeHelpers.intToTimeSpanBuilder

and use

LiftRules
           .noticesAutoFadeOut
           .default
.set(Vendor((noticeType:NoticeType.Value) => Full((1 seconds, 2 seconds))))


It compiles/builds successfully.

Don't know if it gets you what you want !!

Don't know if it's related...but teh API tests ran very slow after the change.

I could execute add new pool on the web ui.

Imtiaz

----- Original Message ----- From: "Richard Hirsch" <[email protected]>
To: <[email protected]>
Sent: Friday, September 03, 2010 5:32 PM
Subject: Problem with [ESME-221]


I'm trying to do a quick change (I just added one line to Boot.scala)
but I get a strange error.

Here is the line

  LiftRules.noticesAutoFadeOut.default.set((noticeType:
NoticeType.Value) => Full((1 seconds, 2 seconds)))

and here is the error

INFO] Compiling 1 source files to D:\apache\esme_patch\trunk\server\target\clas
es
WARNING] D:\apache\esme_patch\trunk\server\src\main\scala\bootstrap\liftweb\Boo
.scala:126: error: type mismatch;
WARNING] found : (net.liftweb.http.NoticeType.Value) => net.liftweb.common.F ll[(net.liftweb.util.TimeHelpers.TimeSpan, net.liftweb.util.TimeHelpers.TimeSpa
)]
WARNING] required: net.liftweb.util.Vendor[(net.liftweb.http.NoticeType.Value) => net.liftweb.common.Box[(net.liftweb.util.Helpers.TimeSpan, net.liftweb.util.
elpers.TimeSpan)]]
WARNING] LiftRules.noticesAutoFadeOut.default.set((noticeType: NoticeType.
alue) => Full((1 seconds, 2 seconds)))
WARNING]
     ^
WARNING] one error found

Am I missing an import?

D.

Reply via email to