Issue Type: Bug Bug
Affects Versions: 2.5.1, 1.2, 2.6.0
Assignee: Unassigned
Attachments: gwt-maven-plugin.patch
Created: 12/Dec/13 7:08 AM
Description:

We are using GWT 2.0.4 on a project an gwt-maven-plugin version 1.2..

We detected a probable bug when the "gwt:test" goal logged "[WARNING] Forked JVM has been killed on time-out after 60 seconds" but the build succeeds.

As far as I would interpret the behaviour I would expect the build to fail if a forked process ends unexpected.

I had a look at the code of master branch (https://github.com/gwt-maven-plugin/gwt-maven-plugin) and saw that the catch of org.codehaus.plexus.util.cli.CommandLineTimeOutException in

  • org.codehaus.mojo.gwt.shell.AbstractGwtShellMojo.JavaCommand.execute() and
  • org.codehaus.mojo.gwt.shell.JavaCommand.execute()
    does not (correctly) throw a MojoException.

Find an attached patch for the master branch that could easily be adopted to 2.5.2-SNAPSHOT.

I testet the behaviour after applying the patch (on v 2.5.1) and can see the following log output in my build:

...
Process 1386850835155 is killed.
[WARNING] Forked JVM has been killed on time-out after 60 seconds
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3:46.583s
[INFO] Finished at: Thu Dec 12 13:22:55 CET 2013
[INFO] Final Memory: 16M/66M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:gwt-maven-plugin:2.5.1:test (gwtTests) on project XXX: Failed to run GWT tests: Time-out on command line execution :
[ERROR] [-Xmx512m, -classpath, ...
Environment: Maven 3.0.5; GWT project using GWT 2.0.4;
Project: Mojo's GWT Maven Plugin
Priority: Major Major
Reporter: Stephan Krull
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

Reply via email to