[ https://issues.apache.org/jira/browse/XERCESJ-1545?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joshua Root updated XERCESJ-1545: --------------------------------- Attachment: build.xml.patch > building docs fails without a GUI session and steals focus with one > ------------------------------------------------------------------- > > Key: XERCESJ-1545 > URL: https://issues.apache.org/jira/browse/XERCESJ-1545 > Project: Xerces2-J > Issue Type: Bug > Components: Build > Affects Versions: 2.11.0 > Environment: Mac OS X > Reporter: Joshua Root > Labels: patch > Attachments: build.xml.patch > > > When building the 'docs' target, StyleBook apparently uses some AWT bits that > cause it to launch as a GUI app. This fails if the build is happening on a > headless machine or via ssh, with the error "Can't connect to window server - > not enough permissions." If it is running in a GUI session, it annoyingly > causes the previous foreground app to lose focus. > The fix is to tell AWT to run in headless mode. I'll attach a patch. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: j-dev-unsubscr...@xerces.apache.org For additional commands, e-mail: j-dev-h...@xerces.apache.org