On 21/06/20 22:11, Cédric Damioli wrote: > I just tested with JDK 1.6 and it worked fine (my exact JDK version is > 1.6.0_18, Windows version).
Mine is 1.6.0_45 (Linux) e.g. the one you can download at the moment from Oracle. > I'm a bit worried if we must change to 1.8, as Cocoon 2.1.x is supposed to be > compatible with 1.6. > Furthermore, javac claims about a RESyntaxException being not catched, but > it's actually a RuntimeException, so I don't see the problem ... The actual issue seems to be the fact that RESyntaxException is contained either by ./lib/endorsed/jakarta-regexp-1.5.jar and ./lib/endorsed/xalan-2.7.2.jar with the former extending RuntimeException and the latter extending Exception; so it actually depends on which one is picked during build, I'd say. Since all classes from the former JAR are included by the latter JAR, I think we should remove jakarta-regexp, but this will not solve the build problem, it will only make it more consistent - which I also believe it is better. > Any idea ? > Have others an issue with building Cocoon 2.1.x with Java 1.6 ? > > Cédric > > Le 20/06/2020 à 15:10, Francesco Chicchiriccò a écrit : >> On 19/06/20 19:43, Cédric Damioli wrote: >>> With which JVM did you try to build ? >>> I have an Oracle JDK 1.8 and everything is ok ... >> >> You are right, I tried OpenJDK 1.8 and it worked fine. >> >> Jenkins (and my former attempts) were based on Oracle JDK 1.6. >> >> Shall I update Jenkins conf? >> >> Regards. >> >>> Le 19/06/2020 à 09:37, Francesco Chicchiriccò a écrit : >>>> >>>> FYI Jenkins is now failing with same failure I have locally when trying to >>>> build 2_1_X. >>>> >>>> -------- Messaggio Inoltrato -------- >>>> Oggetto: Cocoon 2.1.X - Build # 141 - Still Failing >>>> Data: Thu, 18 Jun 2020 22:07:35 +0000 (UTC) >>>> Mittente: Apache Jenkins Server <jenk...@builds.apache.org> >>>> Rispondi-a: dev@cocoon.apache.org >>>> A: c...@cocoon.apache.org >>>> >>>> >>>> >>>> The Apache Jenkins build system has built Cocoon 2.1.X (build #141) >>>> >>>> Status: Still Failing >>>> >>>> Check console output at https://builds.apache.org/job/Cocoon%202.1.X/141/ >>>> to view the results. -- Francesco Chicchiriccò Tirasa - Open Source Excellence http://www.tirasa.net/ Member at The Apache Software Foundation Syncope, Cocoon, Olingo, CXF, OpenJPA, PonyMail http://home.apache.org/~ilgrosso/