https://issues.apache.org/bugzilla/show_bug.cgi?id=55155

            Bug ID: 55155
           Summary: running tomcat tests cause terminal to repeatedly grab
                    focus (on os x)
           Product: Tomcat 7
           Version: unspecified
          Hardware: Macintosh
                OS: Mac OS X 10.4
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Packaging
          Assignee: dev@tomcat.apache.org
          Reporter: clu...@e-miles.com

Created attachment 30493
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=30493&action=edit
patch to add java.awt.headless=true for junit tests

On osx, when running tomcat tests via "ant test", "ant test-nio" or similar,
the terminal window running the tests grabs window focus each time a new jvm is
launched for the junit tests.  This makes it difficult/annoying to do other
things in other windows while the tests are running.  I am seeing the problem
on a mac - it is likely not a problem on other platforms.

Setting java.awt.headless=true fixes the issue.  I can't think of any reason
this shouldn't be set for tomcat tests - maybe there is a reason I don't know. 
Anyway, the attached patch adds the property (for junit tests).

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to