Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
151 posts
|
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)), ... |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1639 posts
|
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)), > > > ... ... [show rest of quote] --
Antwebsystems.com: Quality OFBiz services for competitive rates |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
151 posts
|
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.
... [show rest of quote]
|
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
2218 posts
|
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. > ... [show rest of quote] ... [show rest of quote]
|
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
151 posts
|
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
... [show rest of quote]
|
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Administrator
17869 posts
|
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. >> > > ... [show rest of quote] |
Free forum by Nabble | Edit this page |