forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From iss...@cocoondev.org
Subject [issues] Created: (FOR-50) Document headless operation
Date Thu, 01 Jan 1970 00:00:00 GMT
Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
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: Unassigned
   Priority: Minor

    Project: Forrest
  Component: Forrest website
   Versions:
             0.4

   Assignee: 
   Reporter: Eirik Bjorsnos

    Created: Fri, 4 Jul 2003 12:10 PM
    Updated: Fri, 4 Jul 2003 12:10 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


Mime
View raw message