Since last few years I was using jdk1.6.0_11 version and the recent trunk
code was failing on this. Although it was not failing before 15 days or so. I have upgraded to latest jdk version(jdk1.6.0_24) and now the code base is compiling fine. Sharing this information on mailing list so in case anybody puzzling with this issue can move ahead with this information. Trunk information: ashish@ashish-laptop:~/ofbiz_dev/trunk$ svn info Path: . URL: http://svn.apache.org/repos/asf/ofbiz/trunk Repository Root: http://svn.apache.org/repos/asf Repository UUID: 13f79535-47bb-0310-9956-ffa450edef68 Revision: 1081183 Node Kind: directory Schedule: normal Last Changed Author: adrianc Last Changed Rev: 1081154 Last Changed Date: 2011-03-13 22:35:30 +0530 (Sun, 13 Mar 2011) Build fail detail: ashish@ashish-laptop:~/ofbiz_dev/trunk$ ant Buildfile: build.xml ofbiz-init: build: [echo] [build] ========== Start Building (Compile) ========== ofbiz-init: dir-init: copy-derby-props: build: [echo] [build] ========== Start Building Framework (Compile) ========== init: prepare: classes: jar: init: prepare: gen-src: classes: jar: init: prepare: gen-src: classes: [javac16] Compiling 36 source files to /home/ashish/ofbiz_dev/trunk/framework/sql/build/classes [javac16] /home/ashish/ofbiz_dev/trunk/framework/sql/src/org/ofbiz/sql/Planner.java:41: inconvertible types [javac16] found : org.ofbiz.sql.SQLStatement<capture#923 of ?> [javac16] required: org.ofbiz.sql.SQLDelete [javac16] if (statement instanceof SQLDelete) return planDelete((SQLDelete) statement); [javac16] ^ [javac16] /home/ashish/ofbiz_dev/trunk/framework/sql/src/org/ofbiz/sql/Planner.java:41: inconvertible types [javac16] found : org.ofbiz.sql.SQLStatement<capture#386 of ?> [javac16] required: org.ofbiz.sql.SQLDelete [javac16] if (statement instanceof SQLDelete) return planDelete((SQLDelete) statement); [javac16] ^ [javac16] /home/ashish/ofbiz_dev/trunk/framework/sql/src/org/ofbiz/sql/Planner.java:42: inconvertible types [javac16] found : org.ofbiz.sql.SQLStatement<capture#506 of ?> [javac16] required: org.ofbiz.sql.SQLInsert [javac16] if (statement instanceof SQLInsert) return planInsert((SQLInsert) statement); [javac16] ^ [javac16] /home/ashish/ofbiz_dev/trunk/framework/sql/src/org/ofbiz/sql/Planner.java:42: inconvertible types [javac16] found : org.ofbiz.sql.SQLStatement<capture#135 of ?> [javac16] required: org.ofbiz.sql.SQLInsert [javac16] if (statement instanceof SQLInsert) return planInsert((SQLInsert) statement); [javac16] ^ [javac16] /home/ashish/ofbiz_dev/trunk/framework/sql/src/org/ofbiz/sql/Planner.java:43: inconvertible types [javac16] found : org.ofbiz.sql.SQLStatement<capture#305 of ?> [javac16] required: org.ofbiz.sql.SQLSelect [javac16] if (statement instanceof SQLSelect) return planSelect((SQLSelect) statement); [javac16] ^ [javac16] /home/ashish/ofbiz_dev/trunk/framework/sql/src/org/ofbiz/sql/Planner.java:43: inconvertible types [javac16] found : org.ofbiz.sql.SQLStatement<capture#476 of ?> [javac16] required: org.ofbiz.sql.SQLSelect [javac16] if (statement instanceof SQLSelect) return planSelect((SQLSelect) statement); [javac16] ^ [javac16] /home/ashish/ofbiz_dev/trunk/framework/sql/src/org/ofbiz/sql/Planner.java:44: inconvertible types [javac16] found : org.ofbiz.sql.SQLStatement<capture#227 of ?> [javac16] required: org.ofbiz.sql.SQLUpdate [javac16] if (statement instanceof SQLUpdate) return planUpdate((SQLUpdate) statement); [javac16] ^ [javac16] /home/ashish/ofbiz_dev/trunk/framework/sql/src/org/ofbiz/sql/Planner.java:44: inconvertible types [javac16] found : org.ofbiz.sql.SQLStatement<capture#497 of ?> [javac16] required: org.ofbiz.sql.SQLUpdate [javac16] if (statement instanceof SQLUpdate) return planUpdate((SQLUpdate) statement); [javac16] ^ [javac16] /home/ashish/ofbiz_dev/trunk/framework/sql/src/org/ofbiz/sql/Planner.java:45: inconvertible types [javac16] found : org.ofbiz.sql.SQLStatement<capture#867 of ?> [javac16] required: org.ofbiz.sql.SQLView [javac16] if (statement instanceof SQLView) return planView((SQLView) statement); [javac16] ^ [javac16] /home/ashish/ofbiz_dev/trunk/framework/sql/src/org/ofbiz/sql/Planner.java:45: inconvertible types [javac16] found : org.ofbiz.sql.SQLStatement<capture#182 of ?> [javac16] required: org.ofbiz.sql.SQLView [javac16] if (statement instanceof SQLView) return planView((SQLView) statement); [javac16] ^ [javac16] 10 errors BUILD FAILED /home/ashish/ofbiz_dev/trunk/build.xml:195: The following error occurred while executing this line: /home/ashish/ofbiz_dev/trunk/framework/build.xml:148: The following error occurred while executing this line: /home/ashish/ofbiz_dev/trunk/macros.xml:32: The following error occurred while executing this line: /home/ashish/ofbiz_dev/trunk/framework/sql/build.xml:64: Compile failed; see the compiler error output for details. Total time: 6 seconds -- Ashish |
Thanks Ashish for the information.
-- Thanks and Regards Amit Sharma HotWax Media http://www.hotwaxmedia.com/ On Monday 14 March 2011 02:53 PM, Ashish Vijaywargiya wrote: > Since last few years I was using jdk1.6.0_11 version and the recent trunk > code was failing on this. Although it was not failing before 15 days or so. > I have upgraded to latest jdk version(jdk1.6.0_24) and now the code base is > compiling fine. Sharing this information on mailing list so in case anybody > puzzling with this issue can move ahead with this information. > > Trunk information: ashish@ashish-laptop:~/ofbiz_dev/trunk$ svn info > Path: . > URL: http://svn.apache.org/repos/asf/ofbiz/trunk > Repository Root: http://svn.apache.org/repos/asf > Repository UUID: 13f79535-47bb-0310-9956-ffa450edef68 > Revision: 1081183 > Node Kind: directory > Schedule: normal > Last Changed Author: adrianc > Last Changed Rev: 1081154 > Last Changed Date: 2011-03-13 22:35:30 +0530 (Sun, 13 Mar 2011) > > Build fail detail: > ashish@ashish-laptop:~/ofbiz_dev/trunk$ ant > Buildfile: build.xml > > ofbiz-init: > > build: > [echo] [build] ========== Start Building (Compile) ========== > > ofbiz-init: > > dir-init: > > copy-derby-props: > > build: > [echo] [build] ========== Start Building Framework (Compile) ========== > > init: > > prepare: > > classes: > > jar: > > init: > > prepare: > > gen-src: > > classes: > > jar: > > init: > > prepare: > > gen-src: > > classes: > [javac16] Compiling 36 source files to > /home/ashish/ofbiz_dev/trunk/framework/sql/build/classes > [javac16] > /home/ashish/ofbiz_dev/trunk/framework/sql/src/org/ofbiz/sql/Planner.java:41: > inconvertible types > [javac16] found : org.ofbiz.sql.SQLStatement<capture#923 of ?> > [javac16] required: org.ofbiz.sql.SQLDelete > [javac16] if (statement instanceof SQLDelete) return > planDelete((SQLDelete) statement); > [javac16] ^ > [javac16] > /home/ashish/ofbiz_dev/trunk/framework/sql/src/org/ofbiz/sql/Planner.java:41: > inconvertible types > [javac16] found : org.ofbiz.sql.SQLStatement<capture#386 of ?> > [javac16] required: org.ofbiz.sql.SQLDelete > [javac16] if (statement instanceof SQLDelete) return > planDelete((SQLDelete) statement); > [javac16] > ^ > [javac16] > /home/ashish/ofbiz_dev/trunk/framework/sql/src/org/ofbiz/sql/Planner.java:42: > inconvertible types > [javac16] found : org.ofbiz.sql.SQLStatement<capture#506 of ?> > [javac16] required: org.ofbiz.sql.SQLInsert > [javac16] if (statement instanceof SQLInsert) return > planInsert((SQLInsert) statement); > [javac16] ^ > [javac16] > /home/ashish/ofbiz_dev/trunk/framework/sql/src/org/ofbiz/sql/Planner.java:42: > inconvertible types > [javac16] found : org.ofbiz.sql.SQLStatement<capture#135 of ?> > [javac16] required: org.ofbiz.sql.SQLInsert > [javac16] if (statement instanceof SQLInsert) return > planInsert((SQLInsert) statement); > [javac16] > ^ > [javac16] > /home/ashish/ofbiz_dev/trunk/framework/sql/src/org/ofbiz/sql/Planner.java:43: > inconvertible types > [javac16] found : org.ofbiz.sql.SQLStatement<capture#305 of ?> > [javac16] required: org.ofbiz.sql.SQLSelect > [javac16] if (statement instanceof SQLSelect) return > planSelect((SQLSelect) statement); > [javac16] ^ > [javac16] > /home/ashish/ofbiz_dev/trunk/framework/sql/src/org/ofbiz/sql/Planner.java:43: > inconvertible types > [javac16] found : org.ofbiz.sql.SQLStatement<capture#476 of ?> > [javac16] required: org.ofbiz.sql.SQLSelect > [javac16] if (statement instanceof SQLSelect) return > planSelect((SQLSelect) statement); > [javac16] > ^ > [javac16] > /home/ashish/ofbiz_dev/trunk/framework/sql/src/org/ofbiz/sql/Planner.java:44: > inconvertible types > [javac16] found : org.ofbiz.sql.SQLStatement<capture#227 of ?> > [javac16] required: org.ofbiz.sql.SQLUpdate > [javac16] if (statement instanceof SQLUpdate) return > planUpdate((SQLUpdate) statement); > [javac16] ^ > [javac16] > /home/ashish/ofbiz_dev/trunk/framework/sql/src/org/ofbiz/sql/Planner.java:44: > inconvertible types > [javac16] found : org.ofbiz.sql.SQLStatement<capture#497 of ?> > [javac16] required: org.ofbiz.sql.SQLUpdate > [javac16] if (statement instanceof SQLUpdate) return > planUpdate((SQLUpdate) statement); > [javac16] > ^ > [javac16] > /home/ashish/ofbiz_dev/trunk/framework/sql/src/org/ofbiz/sql/Planner.java:45: > inconvertible types > [javac16] found : org.ofbiz.sql.SQLStatement<capture#867 of ?> > [javac16] required: org.ofbiz.sql.SQLView > [javac16] if (statement instanceof SQLView) return > planView((SQLView) statement); > [javac16] ^ > [javac16] > /home/ashish/ofbiz_dev/trunk/framework/sql/src/org/ofbiz/sql/Planner.java:45: > inconvertible types > [javac16] found : org.ofbiz.sql.SQLStatement<capture#182 of ?> > [javac16] required: org.ofbiz.sql.SQLView > [javac16] if (statement instanceof SQLView) return > planView((SQLView) statement); > [javac16] > ^ > [javac16] 10 errors > > BUILD FAILED > /home/ashish/ofbiz_dev/trunk/build.xml:195: The following error occurred > while executing this line: > /home/ashish/ofbiz_dev/trunk/framework/build.xml:148: The following error > occurred while executing this line: > /home/ashish/ofbiz_dev/trunk/macros.xml:32: The following error occurred > while executing this line: > /home/ashish/ofbiz_dev/trunk/framework/sql/build.xml:64: Compile failed; see > the compiler error output for details. > > Total time: 6 seconds > > -- > Ashish > |
Free forum by Nabble | Edit this page |