The version of last two days won't compile r810416

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

The version of last two days won't compile r810416

masionas
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)),


...
Reply | Threaded
Open this post in threaded view
|

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

hans_bakker
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

Reply | Threaded
Open this post in threaded view
|

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

masionas
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
Reply | Threaded
Open this post in threaded view
|

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

Scott Gray-2
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.
>


smime.p7s (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

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

masionas
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.
>


 
Reply | Threaded
Open this post in threaded view
|

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

Jacques Le Roux
Administrator
In reply to this post by Scott Gray-2
Thanks Scott,

I have commited another fix at r810465 that should have also fixed a part of the problems André Herbst crossed
http://markmail.org/thread/wgqhbyr5qo6j44yq
I tried to backport r810438 to R9.04 but got a conflict and gave up, should be easily doable by hand. I backported r810465 at
r810479.

Jacques


From: "Scott Gray" <[hidden email]>

> 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.
>>
>
>