Okay the patch seems to work. Apache CI server can now compile and test camel-core.
Its currently running a full test https://builds.apache.org/job/Camel.trunk.fulltest.windows/15/console On Mon, Sep 12, 2011 at 7:59 AM, Claus Ibsen <claus.ib...@gmail.com> wrote: > Thanks > > I committed a potential fix and kicked a CI server on Apache Jenkins > https://builds.apache.org/job/Camel.trunk.fulltest.windows/14/ > > I am not able on Apache Jenkins to see which JDK version is being used > on "windows1" which is what > is used for the windows tests. Neither which Windows OS is being used > - WinXP, Win2000, Win7 etc. > > I suspect it uses an older JDK and thus fails. > > > > On Sun, Sep 11, 2011 at 3:07 PM, Christian Schneider > <ch...@die-schneider.net> wrote: >> My machine is a >> >> Intel Core i5 >> Windows 7 >> >> mvn -v >> Apache Maven 3.0.3 (r1075438; 2011-02-28 18:31:09+0100) >> Maven home: c:\Program Files (x86)\apache-maven-3.0.3 >> Java version: 1.6.0_25, vendor: Sun Microsystems Inc. >> Java home: c:\Program Files\Java\jdk1.6.0_25\jre >> Default locale: de_DE, platform encoding: Cp1252 >> OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows" >> >> Christian >> >> >> Am 11.09.2011 12:44, schrieb Christian Schneider: >>> >>> Hi Claus, >>> >>> I also could not reproduce the error. Will send the details of my work >>> machine later. >>> I guess the most probable cause should be the jdk version. >>> >>> Christian >>> >>> >>> Am 11.09.2011 09:33, schrieb Claus Ibsen: >>>> >>>> Hi >>>> >>>> Apache Jenkins is reporting errors on Camel trunk on windows >>>> https://builds.apache.org/job/Camel.trunk.fulltest.windows/11/ >>>> >>>> Its a compilation error in the model. We have seen this java generics >>>> issues before on compiling to AIX, HP-UX, IBM JDKs and whatnot in the >>>> past. Also sometimes it was a bug in the JDK version itself, so by >>>> upgrading the JDK it would fix that. >>>> >>>> On my XP Box I could not reproduce the compilation error on trunk. >>>> Apache Maven 3.0.3 (r1075438; 2011-02-28 18:31:09+0100) >>>> Maven home: E:\maven\bin\.. >>>> Java version: 1.6.0_18, vendor: Sun Microsystems Inc. >>>> Java home: C:\jdk1.6.0_18\jre >>>> Default locale: en_GB, platform encoding: Cp1252 >>>> OS name: "windows xp", version: "5.1", arch: "x86", family: "windows" >>>> >>>> >>>> I was not able to find details on Jenkins which windows and JDK >>>> version was used. >>>> Its a big PITA that Jenkins do not log this in the console, so you >>>> have it easily available. >>>> >>>> >>>> Anyone on a Windows box, could you try to compile camel-core from >>>> trunk on your system. >>>> To see if you have this issue as well? >>>> >>>> >>>> The fix is often to have an explicit redundant type cast in the code, >>>> to "help" the compiler. >>>> We usually added a code comment in the code, that this type cast is >>>> needed due to compilation issues on other platforms. >>>> >>>> >>>> >>>> >>>> Caused by: org.apache.maven.plugin.CompilationFailureException: >>>> Compilation failure >>>> >>>> \hudson\hudson-slave\workspace\Camel.trunk.fulltest.windows\camel-trunk\camel-core\src\main\java\org\apache\camel\model\LoadBalanceDefinition.java:[134,16] >>>> inconvertible types >>>> found : org.apache.camel.model.ProcessorDefinition<capture#632 of ?> >>>> required: org.apache.camel.model.LoadBalanceDefinition >>>> >>>> at >>>> org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:656) >>>> at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:128) >>>> at >>>> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101) >>>> at >>>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) >>>> >>>> >>> >> >> >> -- >> -- >> Christian Schneider >> http://www.liquid-reality.de >> >> Open Source Architect >> Talend Application Integration Division http://www.talend.com >> >> > > > > -- > Claus Ibsen > ----------------- > FuseSource > Email: cib...@fusesource.com > Web: http://fusesource.com > Twitter: davsclaus, fusenews > Blog: http://davsclaus.blogspot.com/ > Author of Camel in Action: http://www.manning.com/ibsen/ > -- Claus Ibsen ----------------- FuseSource Email: cib...@fusesource.com Web: http://fusesource.com Twitter: davsclaus, fusenews Blog: http://davsclaus.blogspot.com/ Author of Camel in Action: http://www.manning.com/ibsen/