Issue Details (XML | Word | Printable)

Key: MOJO-1071
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Critical Critical
Assignee: David Vicente
Reporter: Rene Boers
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Mojo

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

Created: 14/Mar/08 07:15 AM   Updated: 05/Apr/08 01:27 PM
Component/s: dashboard
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Not Specified

File Attachments: 1. Text File dashboard.log (8 kB)

Environment: continiuum and maven 2.08 are running on unix environment using jdk1.5.0

Complexity: Intermediate


 Description  « Hide
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.



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
David Vicente added a comment - 14/Mar/08 08:22 AM
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


Rene Boers added a comment - 17/Mar/08 05:32 AM
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.

David Vicente added a comment - 17/Mar/08 05:59 AM
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 ?


Rene Boers added a comment - 20/Mar/08 05:05 AM
thanks for the information. I think it is a good idea to add it to documentation. You can close the issue.

David Vicente added a comment - 05/Apr/08 01:27 PM
desployed the 2008-04-05 as 1.0-SNAPSHOT ( dashboard-maven-plugin-1.0-20080405.182352-19.jar)