Lukasz, to be precise, Jenkins has not yet started with the new configuration (1.5). But I see there is a commit you did 5 minutes ago, so we should wait at worst other 5 minutes to know if it works
On 7 June 2011 17:26, Lukasz Lenart <[email protected]> wrote: > It should pass base on Java 5. It's strange, Jenkins [1] runs Struts 2 > build on JDK 5 > > [1] https://builds.apache.org//view/S-Z/view/Struts/job/Struts2/ > > > Regards > -- > Łukasz > + 48 606 323 122 http://www.lenart.org.pl/ > Warszawa JUG conference - Confitura http://confitura.pl/ > > > 2011/6/7 Jason Pyeron <[email protected]>: >> Would like some input before filing an issue. >> >> 1: Should xwork-core be built with java5 or 6? >> >> 2: If java5, does anyone else have a clean build on revision 1133024? >> >> Notes/details: >> >> Using java6: >> ... >> Tests run: 657, Failures: 0, Errors: 0, Skipped: 0 >> >> [INFO] >> [INFO] --- maven-jar-plugin:2.3:jar (default-jar) @ xwork-core --- >> [INFO] Building jar: C:\Documents and Settings\All >> Users\Desktop\projects\struts\struts2\trunk\xwork-core\target\xwork-core-2.3.1-S >> NAPSHOT.jar >> [INFO] >> [INFO] >>> maven-source-plugin:2.1.1:jar (attach-source) @ xwork-core >>> >> [INFO] >> [INFO] <<< maven-source-plugin:2.1.1:jar (attach-source) @ xwork-core <<< >> [INFO] >> [INFO] --- maven-source-plugin:2.1.1:jar (attach-source) @ xwork-core --- >> [INFO] Building jar: C:\Documents and Settings\All >> Users\Desktop\projects\struts\struts2\trunk\xwork-core\target\xwork-core-2.3.1-S >> NAPSHOT-sources.jar >> [INFO] >> [INFO] --- maven-install-plugin:2.3:install (default-install) @ xwork-core >> --- >> [INFO] Installing C:\Documents and Settings\All >> Users\Desktop\projects\struts\struts2\trunk\xwork-core\target\xwork-core-2.3.1-S >> NAPSHOT.jar to C:\Documents and >> Settings\jpyeron\.m2\repository\org\apache\struts\xwork\xwork-core\2.3.1-SNAPSHO >> T\xwork-core-2.3.1-SNAPSHOT.jar >> [INFO] Installing C:\Documents and Settings\All >> Users\Desktop\projects\struts\struts2\trunk\xwork-core\pom.xml to >> C:\Documents >> and >> Settings\jpyeron\.m2\repository\org\apache\struts\xwork\xwork-core\2.3.1-SNAPSHO >> T\xwork-core-2.3.1-SNAPSHOT.pom >> [INFO] Installing C:\Documents and Settings\All >> Users\Desktop\projects\struts\struts2\trunk\xwork-core\target\xwork-core-2.3.1-S >> NAPSHOT-sources.jar to C:\Documents and >> Settings\jpyeron\.m2\repository\org\apache\struts\xwork\xwork-core\2.3.1-SNAPSHO >> T\xwork-core-2.3.1-SNAPSHOT-sources.jar >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] BUILD SUCCESS >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Total time: 47.203s >> [INFO] Finished at: Tue Jun 07 10:03:52 EDT 2011 >> [INFO] Final Memory: 12M/53M >> [INFO] >> ------------------------------------------------------------------------ >> >> jpyeron@reclaimed /projects/struts/struts2/trunk/xwork-core >> $ . ../path.sh && . ../java5.sh >> >> jpyeron@reclaimed /projects/struts/struts2/trunk/xwork-core >> $ which javac >> /cygdrive/c/Program Files/Java/jdk1.5.0_22/bin/javac >> >> jpyeron@reclaimed /projects/struts/struts2/trunk/xwork-core >> $ mvn clean && mvn >> ... >> Tests run: 657, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 17.719 sec >> <<< >> FAILURE! >> >> Results : >> >> Failed tests: >> >> testFailsOnMethodThatThrowsException(com.opensymphony.xwork2.ognl.OgnlValueStack >> Test) >> >> Tests run: 657, Failures: 1, Errors: 0, Skipped: 0 >> >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] BUILD FAILURE >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Total time: 38.547s >> [INFO] Finished at: Tue Jun 07 10:05:56 EDT 2011 >> [INFO] Final Memory: 10M/37M >> [INFO] >> ------------------------------------------------------------------------ >> [ERROR] Failed to execute goal >> org.apache.maven.plugins:maven-surefire-plugin:2.6:test (default-test) on >> project xwork-core: There are test failures. >> [ERROR] >> [ERROR] Please refer to C:\Documents and Settings\All >> Users\Desktop\projects\struts\struts2\trunk\xwork-core\target\surefire-reports >> for the individual test results. >> [ERROR] -> [Help 1] >> [ERROR] >> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e >> switch. >> [ERROR] Re-run Maven using the -X switch to enable full debug logging. >> [ERROR] >> [ERROR] For more information about the errors and possible solutions, please >> read the following articles: >> [ERROR] [Help 1] >> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException >> >> jpyeron@reclaimed /projects/struts/struts2/trunk/xwork-core >> $ >> >> public void testFailsOnMethodThatThrowsException() { >> SimpleAction action = new SimpleAction(); >> OgnlValueStack stack = createValueStack(); >> stack.push(action); >> >> action.setThrowException(true); >> try { >> stack.findValue("exceptionMethod1()", true); >> fail("Failed to throw exception on EL method exception"); >> } catch (Exception ex) { >> //ok >> } >> } >> >> -- >> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- >> - - >> - Jason Pyeron PD Inc. http://www.pdinc.us - >> - Principal Consultant 10 West 24th Street #100 - >> - +1 (443) 269-1555 x333 Baltimore, Maryland 21218 - >> - - >> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- >> This message is copyright PD Inc, subject to license 20080407P00. >> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
