You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by "Michael Glavassevich (Resolved) (JIRA)" <xe...@xml.apache.org> on 2011/12/10 20:51:39 UTC

[jira] [Resolved] (XERCESJ-1545) Unix: Building docs fails without a GUI session and steals focus with one.

     [ https://issues.apache.org/jira/browse/XERCESJ-1545?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Glavassevich resolved XERCESJ-1545.
-------------------------------------------

    Resolution: Fixed

Thanks for the patch. I modified it to use <sysproperty> (more natural choice than <jvmarg>) and committed it. See SVN rev 1212858.
                
> Unix: 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
>            Assignee: Michael Glavassevich
>              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-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org