Uploaded image for project: 'Xerces2-J'
  1. Xerces2-J
  2. XERCESJ-1545

Unix: Building docs fails without a GUI session and steals focus with one.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.11.0
    • 2.12.0
    • Build
    • Mac OS X

    Description

      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.

      Attachments

        1. build.xml.patch
          0.4 kB
          Joshua Root

        Activity

          People

            mrglavas@ca.ibm.com Michael Glavassevich
            jmroot Joshua Root
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: