Login  Register

Re: The version of last two days won't compile r810416

Posted by masionas on Sep 02, 2009; 11:44am
URL: http://ofbiz.116.s1.nabble.com/The-version-of-last-two-days-won-t-compile-r810416-tp163282p163287.html

OK. I guess you also have Java 1.6, Scott? I just updated to 1.6 my env too and it is compiled fine. But when  I used jdk 1.5 (after your update as well) there were still 5 errors of inconvertable types in Entity classes. Just FYI.

Thank you guys for your time on this.

Best Regards,
Michael

Scott Gray-2 wrote
It compiles fine for me as well, but since there is no harm in  
changing the code to prevent the error I've gone ahead and changed it  
in r810438

Regards
Scott

HotWax Media
http://www.hotwaxmedia.com

On 2/09/2009, at 9:32 PM, masionas wrote:

>
> Thanks for your reply, Hans. Yes, I tried that and stilll there are  
> those
> errors. I have got a totally clean version from trunk svn. Is it  
> built ok
> for you?
>
> My setup is:
> Java: jdk1.5.0_04 on Fedora Core 8.
>
>
> hansbak wrote:
>>
>> try
>> ./ant clean
>> ./ant
>>
>> Regards,
>> hans
>>
>> On Wed, 2009-09-02 at 01:49 -0700, masionas wrote:
>>> A dozen of such type errors:
>>>
>>> framework/entity/src/org/ofbiz/entity/model/ModelViewEntity.java:
>>> 1232:
>>> incomparable types:  
>>> org.ofbiz.entity.condition.EntityOperator<capture of
>>> ?>
>>> and org.ofbiz.entity.condition.EntityComparisonOperator
>>>  [javac15]             if ((operator == EntityOperator.IN ||  
>>> operator ==
>>> EntityOperator.BETWEEN)
>>>
>>>
>>> framework/entity/src/org/ofbiz/entity/model/ModelViewEntity.java:
>>> 1271:
>>> inconvertible types
>>>  [javac15] found   :  
>>> org.ofbiz.entity.condition.EntityOperator<capture
>>> of
>>> ?>
>>>  [javac15] required:  
>>> org.ofbiz.entity.condition.EntityComparisonOperator
>>>  [javac15]
>>> EntityCondition.makeCondition(EntityFunction.UPPER(lhs),
>>> (EntityComparisonOperator) operator, EntityFunction.UPPER(rhs)),
>>>
>>>
>>> ...
>> --
>> Antwebsystems.com: Quality OFBiz services for competitive rates
>>
>>
>>
>
> --
> View this message in context: http://www.nabble.com/The-version-of-last-two-days-won%27t-compile-r810416-tp25253853p25254408.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>