7:30 – 4:30 VISIBILITY
- Working on a simple “echo” Java GUI in SWT
- Eclipse Labs on Google code: http://code.google.com/a/eclipselabs.org/hosting/
- Talking to the servlet in the GUI. Switching from echo to implementing exec() in the servlet and getting the response into the GUI. For something that takes a while, like a maven build, I’ll need to do something to show progress. Also will need to handle error messages as separate entities in the message wrapper?
- Cleaning up ExecShell() to make it work with the GUI.
- Spent a good deal of time trying to figure out when to inform the client that the command was finished executing. Wound up looking for elements of the command prompt for now (this assumes “C:”). It’s working now. I expect I should be able to roll it in to the servlet tomorrow.
- As an aside, it should be possible to send back intermediate data to the client, as long as the client sends a “send more output” request to the server with the same session id until the server is done.
