Hi, There are two problems to build Struts 2 on JDK5, first is the GXP which was build on JDK6 and classes aren't compliant and the second is the embeddedjsp plugin which uses classes introduced with Java 1.6
My idea to solve these problems is to move them out to sandbox - where they can still be maintained and released but will not interfere with the project. Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ ---------- Forwarded message ---------- From: Apache Jenkins Server <jenk...@builds.apache.org> Date: 2012/11/22 Subject: Build failed in Jenkins: Struts2-JDK5 » Struts 2 GXP Plugin #4 To: lukaszlen...@apache.org See <https://builds.apache.org/job/Struts2-JDK5/org.apache.struts$struts2-gxp-plugin/4/changes> Changes: [Lukasz Lenart] Adjusts code base to be compliant with Java 1.7 ------------------------------------------ projectStarted org.apache.struts:struts2-gxp-plugin:2.3.8-SNAPSHOT [INFO] Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-idea-plugin/maven-metadata.xml [INFO] ------------------------------------------------------------------------ [INFO] Building Struts 2 GXP Plugin 2.3.8-SNAPSHOT [INFO] ------------------------------------------------------------------------ Downloaded: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-idea-plugin/maven-metadata.xml (436 B at 28.4 KB/sec) mojoStarted org.apache.maven.plugins:maven-clean-plugin:2.4.1(default-clean) [INFO] [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ struts2-gxp-plugin --- mojoSucceeded org.apache.maven.plugins:maven-clean-plugin:2.4.1(default-clean) mojoStarted org.apache.maven.plugins:maven-remote-resources-plugin:1.2.1(default) [INFO] [INFO] --- maven-remote-resources-plugin:1.2.1:process (default) @ struts2-gxp-plugin --- mojoSucceeded org.apache.maven.plugins:maven-remote-resources-plugin:1.2.1(default) mojoStarted org.apache.maven.plugins:maven-resources-plugin:2.5(default-resources)[debug] execute contextualize [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] Copying 3 resources [INFO] [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ struts2-gxp-plugin --- mojoSucceeded org.apache.maven.plugins:maven-resources-plugin:2.5(default-resources) mojoStarted org.apache.maven.plugins:maven-compiler-plugin:2.3.2(default-compile) [INFO] [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ struts2-gxp-plugin --- [INFO] Compiling 6 source files to <https://builds.apache.org/job/Struts2-JDK5/org.apache.struts$struts2-gxp-plugin/ws/target/classes> [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] <https://builds.apache.org/job/Struts2-JDK5/org.apache.struts$struts2-gxp-plugin/ws/src/main/java/org/apache/struts2/views/gxp/Param.java>:[23,-1] cannot access com.google.gxp.html.HtmlClosure bad class file: /home/jenkins/jenkins-slave/maven-repositories/1/com/google/gxp/google-gxp/0.2.4-beta/google-gxp-0.2.4-beta.jar(com/google/gxp/html/HtmlClosure.class) class file has wrong version 50.0, should be 49.0 [INFO] 1 error [INFO] ------------------------------------------------------------- mojoFailed org.apache.maven.plugins:maven-compiler-plugin:2.3.2(default-compile) projectFailed org.apache.struts:struts2-gxp-plugin:2.3.8-SNAPSHOT --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For additional commands, e-mail: dev-h...@struts.apache.org