gwt /
gwt /
5b509a5d1a5f4f5ba55893efdf8cc0a79f24e4c2 Support BrowserManagerServer running FireFox where we have a restriction of running only one instance of the browser at a time.
This change does the following:
- Refactors the server into 3 separate class files
- Adds command line argument parsing by extending ToolBase
- Adds a -port option so if we want to start a second server, we can do so on a different port
- Adds a -serialize option to enforce that only one instance of a browser runs at a time per launch configuration
- Adds a queue to keep track of deferred launch commands
- Adds a thread per process launched to wait for the exec'ed browser to complete and then kick off any deferred launch commands when done.
- Adds logging using java.util.loggging
- By default, the daemon is much more chatty than it used to be.
- This can be configured in the standard java.util.logging way but I haven't created a properties file to change the default behavior.
- Adds a unit test to show that the -serialize option works and that when it is off browsers are not serialized.
Patch by: zundel
Review by: me
git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@1854 8db76d5a-ed1c-0410-87a9-c151d255dfc7
6 files changed