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 "Joshua Root (Created) (JIRA)" <xe...@xml.apache.org> on 2011/11/30 20:37:39 UTC

[jira] [Created] (XERCESJ-1545) building docs fails without a GUI session and steals focus with one

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


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


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

Posted by "Michael Glavassevich (Updated) (JIRA)" <xe...@xml.apache.org>.
     [ https://issues.apache.org/jira/browse/XERCESJ-1545?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Glavassevich updated XERCESJ-1545:
------------------------------------------

    Summary: Unix: Building docs fails without a GUI session and steals focus with one.  (was: building docs fails without a GUI session and steals focus with one)
    
> 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


[jira] [Assigned] (XERCESJ-1545) building docs fails without a GUI session and steals focus with one

Posted by "Michael Glavassevich (Assigned) (JIRA)" <xe...@xml.apache.org>.
     [ https://issues.apache.org/jira/browse/XERCESJ-1545?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Glavassevich reassigned XERCESJ-1545:
---------------------------------------------

    Assignee: Michael Glavassevich
    
> 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


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

Posted by "Michael Glavassevich (Resolved) (JIRA)" <xe...@xml.apache.org>.
     [ 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


[jira] [Commented] (XERCESJ-1545) building docs fails without a GUI session and steals focus with one

Posted by "Michael Glavassevich (Commented) (JIRA)" <xe...@xml.apache.org>.
    [ 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: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org


[jira] [Updated] (XERCESJ-1545) building docs fails without a GUI session and steals focus with one

Posted by "Joshua Root (Updated) (JIRA)" <xe...@xml.apache.org>.
     [ 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-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org