I've committed a fix, try it now please. It should be easy to modify if there's a more elegant solution to this problem.
Vassil On Tue, Jun 1, 2010 at 11:53 AM, Vassil Dichev <[email protected]> wrote: > Due to a refactoring it seems that now the type inferencer cannot put > the right implicit and we must provide it a type hint. One possible > fix is for all get and post methods to be replaced with: > > get[Response] > post[Response] > > I'll try to submit a fix soon. > > > On Mon, May 31, 2010 at 2:22 PM, Richard Hirsch <[email protected]> wrote: >> We are currently experiencing some errors during our compile. >> >> I think it is assocaited with changes in the lift Testkit. >> >> I've tried to find a solution but haven't been successful. Can >> somebody else take a look and see if they spot the problem. >> >> D. >> >> [INFO] Compiling 7 source files to >> /export/home/hudson/hudson-slave/workspace/ESME/server/target/test-classes >> [WARNING] >> /export/home/hudson/hudson-slave/workspace/ESME/server/src/test/scala/org/apache/esme/api/ApiTest.scala:84: >> error: no implicit argument matching parameter type (String, >> org.apache.commons.httpclient.HttpClient, >> org.apache.commons.httpclient.HttpMethodBase) => T was found. >> [WARNING] login <- post("/api/login", "token" -> token) !@ "Failed to >> log in" if (testSuccess(login)) >> [WARNING] ^ [WARNING] >> /export/home/hudson/hudson-slave/workspace/ESME/server/src/test/scala/org/apache/esme/api/API2Test.scala:51: >> error: no implicit argument matching parameter type (String, >> org.apache.commons.httpclient.HttpClient, >> org.apache.commons.httpclient.HttpMethodBase) => Nothing was found. >> [WARNING] val post_session = post("session", "token" -> token) >> [WARNING] ^ [WARNING] >> /export/home/hudson/hudson-slave/workspace/ESME/server/src/test/scala/org/apache/esme/api/API2Test.scala:94: >> error: no implicit argument matching parameter type (String, >> org.apache.commons.httpclient.HttpClient, >> org.apache.commons.httpclient.HttpMethodBase) => T was found. >> [WARNING] session <- post("session", "token" -> "000000") [WARNING] ^ >> [WARNING] >> three errors found >> >
