Re: Compilation error on IBM System i (iSeries, AS/400)
Hi Jacques, Yes I tried as Deyan suggested and that reduced the number of compilation errors by 5, but I still get 5 compilation errors casting from operator to EntityComparisonOperator and EntityJoinOperator like the following:: [javac15] /ofbiz/framework/entity/src/org/ofbiz/entity/model/ModelViewEntity.java:1271: inconvertible types [javac15] found : org.ofbiz.entity.condition.EntityOperatorcapture of ? [javac15] required: org.ofbiz.entity.condition.EntityComparisonOperator [javac15] EntityCondition.makeCondition(EntityFunction.UPPER(lhs), (EntityComparisonOperator) operator , EntityFunction.UPPER(rhs)), [javac15]^ Any suggestions? -André On Friday den 14. August 2009 19:35:09 Jacques Le Roux wrote: Did you try to change for equals as Deyan suggested ? Jacques From: André Herbst a...@softmatic.dk I am not sure what the following piece of code from class ModelViewEntity is trying to acheive, but as operator and EntityOperator.IN are both objects and not primitives the == as far as I know test if those two variables reference the same object and not if the values are equal. // If IN or BETWEEN operator, see if value is a literal list and split it if ((operator == EntityOperator.IN || operator == EntityOperator.BETWEEN) value instanceof String) { String delim = null; if (((String)value).indexOf(|) = 0) { delim = |; } else if (((String)value).indexOf(,) = 0) { delim = ,; } if (UtilValidate.isNotEmpty(delim)) { value = StringUtil.split((String) value, delim); } Further the equals() method is overridden in class EntityOperator with the following: // FIXME: CCE @Override public boolean equals(Object obj) { EntityOperator otherOper = (EntityOperator) obj; return this.idInt == otherOper.idInt; } So if using equals as in: if ((operator.equals(EntityOperator.IN) this method would be called. Any comments and suggestions will be much appreciated, thanks. -André On Wednesday den 29. July 2009 12:55:30 Deyan Tsvetanov wrote: Does it work with equals() instead of == ? -Original Message- From: BJ Freeman bjf...@free-man.net Reply-to: user@ofbiz.apache.org To: user@ofbiz.apache.org Subject: Re: Compilation error on IBM System i (iSeries, AS/400) Date: Wed, 29 Jul 2009 03:44:25 -0700 Ok then my next suggestion is you try this on he demo trunk and see if you can duplicate the problem. If so then create a Jira. André Herbst sent the following on 7/28/2009 11:26 PM: Thanks BJ, I would prefer to keep up with the latest revisions from the trunk, so I hope David or Scott can help me with this problem. -André On Tuesday den 28. July 2009 15:53:17 BJ Freeman wrote: David and Scott have done some modification and refactoring on ModelViewEntity.java you can wait for their response or revert to before 790472 and see if you still have the problem. André Herbst sent the following on 7/28/2009 2:05 AM: Hi All, I am working on getting OFBiz to run on an IBM System i server, using the systems native DB2 database, but have run into problems with compling after an upgrade to a newer version of the trunk. I am using the OFBiz trunk version 793888 and is getting the following compile error: [javac15] /ofbiz/framework/entity/src/org/ofbiz/entity/model/ModelViewEntity.j ava :1 232: incomparable types: org.ofbiz.entity.contiontion.EntityOperatorcapture of ? and org.ofbiz.entity.condition.EntityComparisonOperator [javac15] if ((operator == EntityOperator.IN || operator == EntityOperator.BETWEEN) [javac15] ^ I am using the IBM Developer Kit for Java - IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 OS400 ppc-32 j9vmap3223-20080315 (JIT enabled). There is no similar problem when I am compiling the same source on my Linux box. Any help would be very much appreciated. -André
Re: Compilation error on IBM System i (iSeries, AS/400)
I am not sure what the following piece of code from class ModelViewEntity is trying to acheive, but as operator and EntityOperator.IN are both objects and not primitives the == as far as I know test if those two variables reference the same object and not if the values are equal. // If IN or BETWEEN operator, see if value is a literal list and split it if ((operator == EntityOperator.IN || operator == EntityOperator.BETWEEN) value instanceof String) { String delim = null; if (((String)value).indexOf(|) = 0) { delim = |; } else if (((String)value).indexOf(,) = 0) { delim = ,; } if (UtilValidate.isNotEmpty(delim)) { value = StringUtil.split((String) value, delim); } Further the equals() method is overridden in class EntityOperator with the following: // FIXME: CCE @Override public boolean equals(Object obj) { EntityOperator otherOper = (EntityOperator) obj; return this.idInt == otherOper.idInt; } So if using equals as in: if ((operator.equals(EntityOperator.IN) this method would be called. Any comments and suggestions will be much appreciated, thanks. -André On Wednesday den 29. July 2009 12:55:30 Deyan Tsvetanov wrote: Does it work with equals() instead of == ? -Original Message- From: BJ Freeman bjf...@free-man.net Reply-to: user@ofbiz.apache.org To: user@ofbiz.apache.org Subject: Re: Compilation error on IBM System i (iSeries, AS/400) Date: Wed, 29 Jul 2009 03:44:25 -0700 Ok then my next suggestion is you try this on he demo trunk and see if you can duplicate the problem. If so then create a Jira. André Herbst sent the following on 7/28/2009 11:26 PM: Thanks BJ, I would prefer to keep up with the latest revisions from the trunk, so I hope David or Scott can help me with this problem. -André On Tuesday den 28. July 2009 15:53:17 BJ Freeman wrote: David and Scott have done some modification and refactoring on ModelViewEntity.java you can wait for their response or revert to before 790472 and see if you still have the problem. André Herbst sent the following on 7/28/2009 2:05 AM: Hi All, I am working on getting OFBiz to run on an IBM System i server, using the systems native DB2 database, but have run into problems with compling after an upgrade to a newer version of the trunk. I am using the OFBiz trunk version 793888 and is getting the following compile error: [javac15] /ofbiz/framework/entity/src/org/ofbiz/entity/model/ModelViewEntity.java :1 232: incomparable types: org.ofbiz.entity.contiontion.EntityOperatorcapture of ? and org.ofbiz.entity.condition.EntityComparisonOperator [javac15] if ((operator == EntityOperator.IN || operator == EntityOperator.BETWEEN) [javac15] ^ I am using the IBM Developer Kit for Java - IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 OS400 ppc-32 j9vmap3223-20080315 (JIT enabled). There is no similar problem when I am compiling the same source on my Linux box. Any help would be very much appreciated. -André
Re: Compilation error on IBM System i (iSeries, AS/400)
I did not have any problems when I tried to compile with OFBiz release 9.04 og 4.0 so the problem is rather new. -André On Thursday den 30. July 2009 03:04:55 Rodrigo Lima wrote: classpath... Loader OfBiz do not abble to use class loader IBM. 2009/7/29 BJ Freeman bjf...@free-man.net my bad.. sorry I plead being sick. as David said, need to check with the IBM version of the JDK. André Herbst sent the following on 7/29/2009 12:27 PM: I am not sure what you mean by demo trunk in this case. I need to download the source code with SVN as the error is generated during a compilation with ANT. On Wednesday den 29. July 2009 12:44:25 BJ Freeman wrote: Ok then my next suggestion is you try this on he demo trunk and see if you can duplicate the problem. If so then create a Jira. André Herbst sent the following on 7/28/2009 11:26 PM: Thanks BJ, I would prefer to keep up with the latest revisions from the trunk, so I hope David or Scott can help me with this problem. -André On Tuesday den 28. July 2009 15:53:17 BJ Freeman wrote: David and Scott have done some modification and refactoring on ModelViewEntity.java you can wait for their response or revert to before 790472 and see if you still have the problem. André Herbst sent the following on 7/28/2009 2:05 AM: Hi All, I am working on getting OFBiz to run on an IBM System i server, using the systems native DB2 database, but have run into problems with compling after an upgrade to a newer version of the trunk. I am using the OFBiz trunk version 793888 and is getting the following compile error: [javac15] /ofbiz/framework/entity/src/org/ofbiz/entity/model/ModelViewEntity.java :1 232: incomparable types: org.ofbiz.entity.contiontion.EntityOperatorcapture of ? and org.ofbiz.entity.condition.EntityComparisonOperator [javac15] if ((operator == EntityOperator.IN || operator == EntityOperator.BETWEEN) [javac15] ^ I am using the IBM Developer Kit for Java - IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 OS400 ppc-32 j9vmap3223-20080315 (JIT enabled). There is no similar problem when I am compiling the same source on my Linux box. Any help would be very much appreciated. -André -- BJ Freeman http://www.businessesnetwork.com/automation http://bjfreeman.elance.com http://www.linkedin.com/profile?viewProfile=key=1237480locale=en_UStrk =tab_pro Systems Integrator.
Re: Compilation error on IBM System i (iSeries, AS/400)
Thanks for the suggestion Deyan. I will try this asap and get back with the result. -André On Wednesday den 29. July 2009 12:55:30 Deyan Tsvetanov wrote: Does it work with equals() instead of == ? -Original Message- From: BJ Freeman bjf...@free-man.net Reply-to: user@ofbiz.apache.org To: user@ofbiz.apache.org Subject: Re: Compilation error on IBM System i (iSeries, AS/400) Date: Wed, 29 Jul 2009 03:44:25 -0700 Ok then my next suggestion is you try this on he demo trunk and see if you can duplicate the problem. If so then create a Jira. André Herbst sent the following on 7/28/2009 11:26 PM: Thanks BJ, I would prefer to keep up with the latest revisions from the trunk, so I hope David or Scott can help me with this problem. -André On Tuesday den 28. July 2009 15:53:17 BJ Freeman wrote: David and Scott have done some modification and refactoring on ModelViewEntity.java you can wait for their response or revert to before 790472 and see if you still have the problem. André Herbst sent the following on 7/28/2009 2:05 AM: Hi All, I am working on getting OFBiz to run on an IBM System i server, using the systems native DB2 database, but have run into problems with compling after an upgrade to a newer version of the trunk. I am using the OFBiz trunk version 793888 and is getting the following compile error: [javac15] /ofbiz/framework/entity/src/org/ofbiz/entity/model/ModelViewEntity.java :1 232: incomparable types: org.ofbiz.entity.contiontion.EntityOperatorcapture of ? and org.ofbiz.entity.condition.EntityComparisonOperator [javac15] if ((operator == EntityOperator.IN || operator == EntityOperator.BETWEEN) [javac15] ^ I am using the IBM Developer Kit for Java - IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 OS400 ppc-32 j9vmap3223-20080315 (JIT enabled). There is no similar problem when I am compiling the same source on my Linux box. Any help would be very much appreciated. -André
Re: Compilation error on IBM System i (iSeries, AS/400)
Thanks BJ, I would prefer to keep up with the latest revisions from the trunk, so I hope David or Scott can help me with this problem. -André On Tuesday den 28. July 2009 15:53:17 BJ Freeman wrote: David and Scott have done some modification and refactoring on ModelViewEntity.java you can wait for their response or revert to before 790472 and see if you still have the problem. André Herbst sent the following on 7/28/2009 2:05 AM: Hi All, I am working on getting OFBiz to run on an IBM System i server, using the systems native DB2 database, but have run into problems with compling after an upgrade to a newer version of the trunk. I am using the OFBiz trunk version 793888 and is getting the following compile error: [javac15] /ofbiz/framework/entity/src/org/ofbiz/entity/model/ModelViewEntity.java:1 232: incomparable types: org.ofbiz.entity.contiontion.EntityOperatorcapture of ? and org.ofbiz.entity.condition.EntityComparisonOperator [javac15] if ((operator == EntityOperator.IN || operator == EntityOperator.BETWEEN) [javac15] ^ I am using the IBM Developer Kit for Java - IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 OS400 ppc-32 j9vmap3223-20080315 (JIT enabled). There is no similar problem when I am compiling the same source on my Linux box. Any help would be very much appreciated. -André
Re: Compilation error on IBM System i (iSeries, AS/400)
Hi Rodrigo, Thank you for your answer. Is you experience related to running OFBiz on IBM System i? That would be very helpful, as I have not been able to find much information about this on the Internet. I am compiling OFBiz on IBM System i from the Qshell interpreter with ANT and have done so successfully with earlier releases. Could you please be more specific about how to adjust the classpath? Thanks. -André On Tuesday den 28. July 2009 14:33:50 Rodrigo Lima wrote: Hi André, I have experiencie and one solution is adjust classpath( hard coded ). Att, Rodrigo 2009/7/28 André Herbst a...@softmatic.dk Hi All, I am working on getting OFBiz to run on an IBM System i server, using the systems native DB2 database, but have run into problems with compling after an upgrade to a newer version of the trunk. I am using the OFBiz trunk version 793888 and is getting the following compile error: [javac15] /ofbiz/framework/entity/src/org/ofbiz/entity/model/ModelViewEntity.java:1 232: incomparable types: org.ofbiz.entity.contiontion.EntityOperatorcapture of ? and org.ofbiz.entity.condition.EntityComparisonOperator [javac15] if ((operator == EntityOperator.IN || operator == EntityOperator.BETWEEN) [javac15] ^ I am using the IBM Developer Kit for Java - IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 OS400 ppc-32 j9vmap3223-20080315 (JIT enabled). There is no similar problem when I am compiling the same source on my Linux box. Any help would be very much appreciated. -André
Re: Compilation error on IBM System i (iSeries, AS/400)
Andre, I wish I could help, but honestly I have no experience with the Java VM on IBM System i, and I really don't know what might be causing this problem (though it looks/sounds like a JVM quirk or bug). -David On Jul 29, 2009, at 12:26 AM, André Herbst wrote: Thanks BJ, I would prefer to keep up with the latest revisions from the trunk, so I hope David or Scott can help me with this problem. -André On Tuesday den 28. July 2009 15:53:17 BJ Freeman wrote: David and Scott have done some modification and refactoring on ModelViewEntity.java you can wait for their response or revert to before 790472 and see if you still have the problem. André Herbst sent the following on 7/28/2009 2:05 AM: Hi All, I am working on getting OFBiz to run on an IBM System i server, using the systems native DB2 database, but have run into problems with compling after an upgrade to a newer version of the trunk. I am using the OFBiz trunk version 793888 and is getting the following compile error: [javac15] /ofbiz/framework/entity/src/org/ofbiz/entity/model/ ModelViewEntity.java:1 232: incomparable types: org.ofbiz.entity.contiontion.EntityOperatorcapture of ? and org.ofbiz.entity.condition.EntityComparisonOperator [javac15] if ((operator == EntityOperator.IN || operator == EntityOperator.BETWEEN) [javac15] ^ I am using the IBM Developer Kit for Java - IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 OS400 ppc-32 j9vmap3223-20080315 (JIT enabled). There is no similar problem when I am compiling the same source on my Linux box. Any help would be very much appreciated. -André
Re: Compilation error on IBM System i (iSeries, AS/400)
André Herbst schrieb: Hi All, I am working on getting OFBiz to run on an IBM System i server, using the systems native DB2 database, but have run into problems with compling after an upgrade to a newer version of the trunk. I am using the OFBiz trunk version 793888 and is getting the following compile error: [javac15] /ofbiz/framework/entity/src/org/ofbiz/entity/model/ModelViewEntity.java:1232: incomparable types: org.ofbiz.entity.contiontion.EntityOperatorcapture of ? and org.ofbiz.entity.condition.EntityComparisonOperator [javac15] if ((operator == EntityOperator.IN || operator == EntityOperator.BETWEEN) [javac15] ^ I am using the IBM Developer Kit for Java - IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 OS400 ppc-32 j9vmap3223-20080315 (JIT enabled). There is no similar problem when I am compiling the same source on my Linux box. Any help would be very much appreciated. No help (yet), but I can confirm the problem under V5R4 with Classic VM (build 1.5, build JDK-1.5, native threads, jitc_de) Strange... -- Christian
Re: Compilation error on IBM System i (iSeries, AS/400)
Hi Christian, Thanks for the information, I am having the problem under V6R1. -André On Wednesday den 29. July 2009 09:37:32 Christian Geisert wrote: André Herbst schrieb: Hi All, I am working on getting OFBiz to run on an IBM System i server, using the systems native DB2 database, but have run into problems with compling after an upgrade to a newer version of the trunk. I am using the OFBiz trunk version 793888 and is getting the following compile error: [javac15] /ofbiz/framework/entity/src/org/ofbiz/entity/model/ModelViewEntity.java:1 232: incomparable types: org.ofbiz.entity.contiontion.EntityOperatorcapture of ? and org.ofbiz.entity.condition.EntityComparisonOperator [javac15] if ((operator == EntityOperator.IN || operator == EntityOperator.BETWEEN) [javac15] ^ I am using the IBM Developer Kit for Java - IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 OS400 ppc-32 j9vmap3223-20080315 (JIT enabled). There is no similar problem when I am compiling the same source on my Linux box. Any help would be very much appreciated. No help (yet), but I can confirm the problem under V5R4 with Classic VM (build 1.5, build JDK-1.5, native threads, jitc_de) Strange...
Re: Compilation error on IBM System i (iSeries, AS/400)
Ok then my next suggestion is you try this on he demo trunk and see if you can duplicate the problem. If so then create a Jira. André Herbst sent the following on 7/28/2009 11:26 PM: Thanks BJ, I would prefer to keep up with the latest revisions from the trunk, so I hope David or Scott can help me with this problem. -André On Tuesday den 28. July 2009 15:53:17 BJ Freeman wrote: David and Scott have done some modification and refactoring on ModelViewEntity.java you can wait for their response or revert to before 790472 and see if you still have the problem. André Herbst sent the following on 7/28/2009 2:05 AM: Hi All, I am working on getting OFBiz to run on an IBM System i server, using the systems native DB2 database, but have run into problems with compling after an upgrade to a newer version of the trunk. I am using the OFBiz trunk version 793888 and is getting the following compile error: [javac15] /ofbiz/framework/entity/src/org/ofbiz/entity/model/ModelViewEntity.java:1 232: incomparable types: org.ofbiz.entity.contiontion.EntityOperatorcapture of ? and org.ofbiz.entity.condition.EntityComparisonOperator [javac15] if ((operator == EntityOperator.IN || operator == EntityOperator.BETWEEN) [javac15] ^ I am using the IBM Developer Kit for Java - IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 OS400 ppc-32 j9vmap3223-20080315 (JIT enabled). There is no similar problem when I am compiling the same source on my Linux box. Any help would be very much appreciated. -André -- BJ Freeman http://www.businessesnetwork.com/automation http://bjfreeman.elance.com http://www.linkedin.com/profile?viewProfile=key=1237480locale=en_UStrk=tab_pro Systems Integrator.
Re: Compilation error on IBM System i (iSeries, AS/400)
Does it work with equals() instead of == ? -Original Message- From: BJ Freeman bjf...@free-man.net Reply-to: user@ofbiz.apache.org To: user@ofbiz.apache.org Subject: Re: Compilation error on IBM System i (iSeries, AS/400) Date: Wed, 29 Jul 2009 03:44:25 -0700 Ok then my next suggestion is you try this on he demo trunk and see if you can duplicate the problem. If so then create a Jira. André Herbst sent the following on 7/28/2009 11:26 PM: Thanks BJ, I would prefer to keep up with the latest revisions from the trunk, so I hope David or Scott can help me with this problem. -André On Tuesday den 28. July 2009 15:53:17 BJ Freeman wrote: David and Scott have done some modification and refactoring on ModelViewEntity.java you can wait for their response or revert to before 790472 and see if you still have the problem. André Herbst sent the following on 7/28/2009 2:05 AM: Hi All, I am working on getting OFBiz to run on an IBM System i server, using the systems native DB2 database, but have run into problems with compling after an upgrade to a newer version of the trunk. I am using the OFBiz trunk version 793888 and is getting the following compile error: [javac15] /ofbiz/framework/entity/src/org/ofbiz/entity/model/ModelViewEntity.java:1 232: incomparable types: org.ofbiz.entity.contiontion.EntityOperatorcapture of ? and org.ofbiz.entity.condition.EntityComparisonOperator [javac15] if ((operator == EntityOperator.IN || operator == EntityOperator.BETWEEN) [javac15] ^ I am using the IBM Developer Kit for Java - IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 OS400 ppc-32 j9vmap3223-20080315 (JIT enabled). There is no similar problem when I am compiling the same source on my Linux box. Any help would be very much appreciated. -André
Re: Compilation error on IBM System i (iSeries, AS/400)
I am not sure what you mean by demo trunk in this case. I need to download the source code with SVN as the error is generated during a compilation with ANT. On Wednesday den 29. July 2009 12:44:25 BJ Freeman wrote: Ok then my next suggestion is you try this on he demo trunk and see if you can duplicate the problem. If so then create a Jira. André Herbst sent the following on 7/28/2009 11:26 PM: Thanks BJ, I would prefer to keep up with the latest revisions from the trunk, so I hope David or Scott can help me with this problem. -André On Tuesday den 28. July 2009 15:53:17 BJ Freeman wrote: David and Scott have done some modification and refactoring on ModelViewEntity.java you can wait for their response or revert to before 790472 and see if you still have the problem. André Herbst sent the following on 7/28/2009 2:05 AM: Hi All, I am working on getting OFBiz to run on an IBM System i server, using the systems native DB2 database, but have run into problems with compling after an upgrade to a newer version of the trunk. I am using the OFBiz trunk version 793888 and is getting the following compile error: [javac15] /ofbiz/framework/entity/src/org/ofbiz/entity/model/ModelViewEntity.java :1 232: incomparable types: org.ofbiz.entity.contiontion.EntityOperatorcapture of ? and org.ofbiz.entity.condition.EntityComparisonOperator [javac15] if ((operator == EntityOperator.IN || operator == EntityOperator.BETWEEN) [javac15] ^ I am using the IBM Developer Kit for Java - IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 OS400 ppc-32 j9vmap3223-20080315 (JIT enabled). There is no similar problem when I am compiling the same source on my Linux box. Any help would be very much appreciated. -André
Re: Compilation error on IBM System i (iSeries, AS/400)
my bad.. sorry I plead being sick. as David said, need to check with the IBM version of the JDK. André Herbst sent the following on 7/29/2009 12:27 PM: I am not sure what you mean by demo trunk in this case. I need to download the source code with SVN as the error is generated during a compilation with ANT. On Wednesday den 29. July 2009 12:44:25 BJ Freeman wrote: Ok then my next suggestion is you try this on he demo trunk and see if you can duplicate the problem. If so then create a Jira. André Herbst sent the following on 7/28/2009 11:26 PM: Thanks BJ, I would prefer to keep up with the latest revisions from the trunk, so I hope David or Scott can help me with this problem. -André On Tuesday den 28. July 2009 15:53:17 BJ Freeman wrote: David and Scott have done some modification and refactoring on ModelViewEntity.java you can wait for their response or revert to before 790472 and see if you still have the problem. André Herbst sent the following on 7/28/2009 2:05 AM: Hi All, I am working on getting OFBiz to run on an IBM System i server, using the systems native DB2 database, but have run into problems with compling after an upgrade to a newer version of the trunk. I am using the OFBiz trunk version 793888 and is getting the following compile error: [javac15] /ofbiz/framework/entity/src/org/ofbiz/entity/model/ModelViewEntity.java :1 232: incomparable types: org.ofbiz.entity.contiontion.EntityOperatorcapture of ? and org.ofbiz.entity.condition.EntityComparisonOperator [javac15] if ((operator == EntityOperator.IN || operator == EntityOperator.BETWEEN) [javac15] ^ I am using the IBM Developer Kit for Java - IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 OS400 ppc-32 j9vmap3223-20080315 (JIT enabled). There is no similar problem when I am compiling the same source on my Linux box. Any help would be very much appreciated. -André -- BJ Freeman http://www.businessesnetwork.com/automation http://bjfreeman.elance.com http://www.linkedin.com/profile?viewProfile=key=1237480locale=en_UStrk=tab_pro Systems Integrator.
Re: Compilation error on IBM System i (iSeries, AS/400)
classpath... Loader OfBiz do not abble to use class loader IBM. 2009/7/29 BJ Freeman bjf...@free-man.net my bad.. sorry I plead being sick. as David said, need to check with the IBM version of the JDK. André Herbst sent the following on 7/29/2009 12:27 PM: I am not sure what you mean by demo trunk in this case. I need to download the source code with SVN as the error is generated during a compilation with ANT. On Wednesday den 29. July 2009 12:44:25 BJ Freeman wrote: Ok then my next suggestion is you try this on he demo trunk and see if you can duplicate the problem. If so then create a Jira. André Herbst sent the following on 7/28/2009 11:26 PM: Thanks BJ, I would prefer to keep up with the latest revisions from the trunk, so I hope David or Scott can help me with this problem. -André On Tuesday den 28. July 2009 15:53:17 BJ Freeman wrote: David and Scott have done some modification and refactoring on ModelViewEntity.java you can wait for their response or revert to before 790472 and see if you still have the problem. André Herbst sent the following on 7/28/2009 2:05 AM: Hi All, I am working on getting OFBiz to run on an IBM System i server, using the systems native DB2 database, but have run into problems with compling after an upgrade to a newer version of the trunk. I am using the OFBiz trunk version 793888 and is getting the following compile error: [javac15] /ofbiz/framework/entity/src/org/ofbiz/entity/model/ModelViewEntity.java :1 232: incomparable types: org.ofbiz.entity.contiontion.EntityOperatorcapture of ? and org.ofbiz.entity.condition.EntityComparisonOperator [javac15] if ((operator == EntityOperator.IN || operator == EntityOperator.BETWEEN) [javac15] ^ I am using the IBM Developer Kit for Java - IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 OS400 ppc-32 j9vmap3223-20080315 (JIT enabled). There is no similar problem when I am compiling the same source on my Linux box. Any help would be very much appreciated. -André -- BJ Freeman http://www.businessesnetwork.com/automation http://bjfreeman.elance.com http://www.linkedin.com/profile?viewProfile=key=1237480locale=en_UStrk=tab_pro Systems Integrator.
Re: Compilation error on IBM System i (iSeries, AS/400)
Hi André, I have experiencie and one solution is adjust classpath( hard coded ). Att, Rodrigo 2009/7/28 André Herbst a...@softmatic.dk Hi All, I am working on getting OFBiz to run on an IBM System i server, using the systems native DB2 database, but have run into problems with compling after an upgrade to a newer version of the trunk. I am using the OFBiz trunk version 793888 and is getting the following compile error: [javac15] /ofbiz/framework/entity/src/org/ofbiz/entity/model/ModelViewEntity.java:1232: incomparable types: org.ofbiz.entity.contiontion.EntityOperatorcapture of ? and org.ofbiz.entity.condition.EntityComparisonOperator [javac15] if ((operator == EntityOperator.IN || operator == EntityOperator.BETWEEN) [javac15] ^ I am using the IBM Developer Kit for Java - IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 OS400 ppc-32 j9vmap3223-20080315 (JIT enabled). There is no similar problem when I am compiling the same source on my Linux box. Any help would be very much appreciated. -André
Re: Compilation error on IBM System i (iSeries, AS/400)
David and Scott have done some modification and refactoring on ModelViewEntity.java you can wait for their response or revert to before 790472 and see if you still have the problem. André Herbst sent the following on 7/28/2009 2:05 AM: Hi All, I am working on getting OFBiz to run on an IBM System i server, using the systems native DB2 database, but have run into problems with compling after an upgrade to a newer version of the trunk. I am using the OFBiz trunk version 793888 and is getting the following compile error: [javac15] /ofbiz/framework/entity/src/org/ofbiz/entity/model/ModelViewEntity.java:1232: incomparable types: org.ofbiz.entity.contiontion.EntityOperatorcapture of ? and org.ofbiz.entity.condition.EntityComparisonOperator [javac15] if ((operator == EntityOperator.IN || operator == EntityOperator.BETWEEN) [javac15] ^ I am using the IBM Developer Kit for Java - IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 OS400 ppc-32 j9vmap3223-20080315 (JIT enabled). There is no similar problem when I am compiling the same source on my Linux box. Any help would be very much appreciated. -André -- BJ Freeman http://www.businessesnetwork.com/automation http://bjfreeman.elance.com http://www.linkedin.com/profile?viewProfile=key=1237480locale=en_UStrk=tab_pro Systems Integrator.
Re: Compilation error on IBM System i (iSeries, AS/400)--David Scott on refactored code
BJ Freeman sent the following on 7/28/2009 6:53 AM: David and Scott have done some modification and refactoring on ModelViewEntity.java you can wait for their response or revert to before 790472 and see if you still have the problem. André Herbst sent the following on 7/28/2009 2:05 AM: Hi All, I am working on getting OFBiz to run on an IBM System i server, using the systems native DB2 database, but have run into problems with compling after an upgrade to a newer version of the trunk. I am using the OFBiz trunk version 793888 and is getting the following compile error: [javac15] /ofbiz/framework/entity/src/org/ofbiz/entity/model/ModelViewEntity.java:1232: incomparable types: org.ofbiz.entity.contiontion.EntityOperatorcapture of ? and org.ofbiz.entity.condition.EntityComparisonOperator [javac15] if ((operator == EntityOperator.IN || operator == EntityOperator.BETWEEN) [javac15] ^ I am using the IBM Developer Kit for Java - IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 OS400 ppc-32 j9vmap3223-20080315 (JIT enabled). There is no similar problem when I am compiling the same source on my Linux box. Any help would be very much appreciated. -André -- BJ Freeman http://www.businessesnetwork.com/automation http://bjfreeman.elance.com http://www.linkedin.com/profile?viewProfile=key=1237480locale=en_UStrk=tab_pro Systems Integrator.