[
https://issues.apache.org/jira/browse/XERCESJ-1545?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13160289#comment-13160289
]
Michael Glavassevich commented on XERCESJ-1545:
-----------------------------------------------
Interesting. I always assumed the issues with building the docs on Unix
platforms was a limitation with Stylebook, but never looked any deeper.
> 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: [email protected]
For additional commands, e-mail: [email protected]