bardsoftware / ganttproject

Official GanttProject repository.
http://ganttproject.biz
GNU General Public License v3.0
856 stars 301 forks source link

Do not access Swing libraries when started in command line mode #11

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Copied from the bug tracker on SourceForge:
https://sourceforge.net/tracker/index.php?func=detail&aid=878144&group_id=72728&
atid=535427

GanttProject always creates JFrame and other UI stuff even if it is running
in command line mode (like ganttproject.sh -pdf HouseBuildingSample.gan)
Headless servers don't like when applications try to use graphical libraries

Original issue reported on code.google.com by dbarashev on 1 Dec 2008 at 12:23

OHasti commented 8 years ago

Is this on the roadmap for any future version? It would be really handy for automating the publication of charts to HTML/PDF for wider distribution and archive purposes using headless machines such as a Jenkins server or Cron Job on a web server.