Mojo

Trying to do a dashboard-report:dashboard in continuum getting error

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Critical Critical
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: dashboard
  • Labels:
    None
  • Environment:
    continiuum and maven 2.08 are running on unix environment using jdk1.5.0
  • Complexity:
    Intermediate
  • Number of attachments :
    1

Description

when i run from continiuum the mvn: dashboard-report:dashboard after having run the mvn site command i get the error as shown in the attachement dashboard.log

When running the same command from under windows environment gives no error.

Any ideas why it try to start something graphical from an X environent.

Activity

Hide
David Vicente added a comment -

the reason is : JFreeChart

as dashboard generates graphics with JFreeChart, a graphic environnement must exist.

So, it works fine under Windows and no under Unix without X11 window server.

So you can install a X11 window server on your unix machine or generate only a dashboard report as Maven 1 with the "m1LikeRendering" parameter as described in http://mojo.codehaus.org/dashboard-maven-plugin/dashboard-mojo.html

Warning : You won't be able to use the persistance feature because historic's report uses JFreeChart to generate graphics

Best regards

David

Show
David Vicente added a comment - the reason is : JFreeChart as dashboard generates graphics with JFreeChart, a graphic environnement must exist. So, it works fine under Windows and no under Unix without X11 window server. So you can install a X11 window server on your unix machine or generate only a dashboard report as Maven 1 with the "m1LikeRendering" parameter as described in http://mojo.codehaus.org/dashboard-maven-plugin/dashboard-mojo.html Warning : You won't be able to use the persistance feature because historic's report uses JFreeChart to generate graphics Best regards David
Hide
Rene Boers added a comment -

Why should a X11 Windows Server be available if the needed jFreeChart libraries are available for building. I think that plugins should work independent and should work on both windows and unix systems. Nowhere in the documentation is mentioned that this plugin doesnot work on a unix environment.

Show
Rene Boers added a comment - Why should a X11 Windows Server be available if the needed jFreeChart libraries are available for building. I think that plugins should work independent and should work on both windows and unix systems. Nowhere in the documentation is mentioned that this plugin doesnot work on a unix environment.
Hide
David Vicente added a comment -

Hi,

as explained in JFreeChart FAQ : http://www.jfree.org/jfreechart/faq.html#FAQ10

This is a Java (AWT/Java2D) issue, not something that is specific to JFreeChart. See this page :

http://java.sun.com/products/java-media/2D/reference/faqs/index.html#Q_I_have_an_application_that_rea

If you have not counter indication, I will update the dashboard's documentation regarding this concern and close this issue ?

Show
David Vicente added a comment - Hi, as explained in JFreeChart FAQ : http://www.jfree.org/jfreechart/faq.html#FAQ10 This is a Java (AWT/Java2D) issue, not something that is specific to JFreeChart. See this page : http://java.sun.com/products/java-media/2D/reference/faqs/index.html#Q_I_have_an_application_that_rea If you have not counter indication, I will update the dashboard's documentation regarding this concern and close this issue ?
Hide
Rene Boers added a comment -

thanks for the information. I think it is a good idea to add it to documentation. You can close the issue.

Show
Rene Boers added a comment - thanks for the information. I think it is a good idea to add it to documentation. You can close the issue.
Hide
David Vicente added a comment -

desployed the 2008-04-05 as 1.0-SNAPSHOT ( dashboard-maven-plugin-1.0-20080405.182352-19.jar)

Show
David Vicente added a comment - desployed the 2008-04-05 as 1.0-SNAPSHOT ( dashboard-maven-plugin-1.0-20080405.182352-19.jar)

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: