You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by is...@cocoondev.org on 2003/07/30 13:36:42 UTC
[issues] Closed: (FOR-50) Document headless operation
Message:
The following issue has been closed.
Resolver: Jeff Turner
Date: Wed, 30 Jul 2003 1:36 PM
Patch applied, thanks
---------------------------------------------------------------------
View the issue:
http://issues.cocoondev.org/jira//secure/ViewIssue.jspa?key=FOR-50
Here is an overview of the issue:
---------------------------------------------------------------------
Key: FOR-50
Summary: Document headless operation
Type: Improvement
Status: Closed
Priority: Minor
Resolution: FIXED
Project: Forrest
Component: Forrest website
Versions:
0.4
Assignee:
Reporter: Eirik Bjorsnos
Created: Fri, 4 Jul 2003 12:10 PM
Updated: Wed, 30 Jul 2003 1:36 PM
Environment: Debian 3.0, no X11, JDK 1.4.
Description:
Generating PNG from SVG running forrest on a headless (non-X) system is not possible. Batik stops because it can't connect to an X Server.
The java VM needs to be given the argument -Djava.awt.headless=true
I tried to do a "forrest -Djava.awt.headless", but that was given as an argument to org.apache.cocoon.Main, not as a JVM argument.
I managed to get it working by adding
<jvmarg value="-Djava.awt.headless=true"/>
to the <java> task in the "-site" target in <FORREST_HOME>/forrest.build.xml.
I guess this should be documented somewhere, perhaps as a FAQ or in http://xml.apache.org/forrest/your-project.html#png_from_svg
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://issues.cocoondev.org/jira//Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira