incubator-esme-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard Hirsch <hirsch.d...@gmail.com>
Subject Re: More Compile Errors
Date Tue, 01 Jun 2010 11:36:14 GMT
Thanks - this fixed the problem

On Tue, Jun 1, 2010 at 11:53 AM, Vassil Dichev <vdichev@apache.org> wrote:
> 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 <vdichev@apache.org> 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 <hirsch.dick@gmail.com> 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
>>>
>>
>

Mime
View raw message