For those who have been chasing the source to the Browser Thumbnail stuff, it’s now available for download (Apache 2.0 license). It’s a little scrappy and needs a tidy up, but we’re all friends, right?
At the same place you’ll find the updated source for groovyblogs that will play nice with Grails 1.0 RC1. This version now makes plenty of use of the way-cool Grails Config stuff, so it should be a lot easier to customise to your environment. Make sure you check out the Config.groovy file and customise the paths/proxies/whatnot..
The Thumbnail server should be a painless “download and run” for OSX users, others should upgrade their operating system check the README.txt…
To start the service, do an "ant run" from where you unzipped the distro. There is no GUI, just a bunch of log messages. :-) You can create a simple client for testing by following the instructions here: http://blogs.bytecode.com.au/glen/2007/11/05/1194230711983.html FOR NON OSX USERS!!!! In order to get this running on your own workstation, you'll need to perform the following steps if you're not running on OSX: 1\. Download the correct SWT libraries for your platform Head on over to http://www.eclipse.org/swt/ and grab the download for your platform. Remove the current ones from "/lib" in the project and replace them with the two matching SWT jars for your platform. 2\. Remove the references to -XstartOnFirstThread from build.xml and ThumbnailServer.groovy. 3\. If running on linux, you'll need to setup the path to your browser component. On Ubuntu, I use something like: export MOZILLA_FIVE_HOME=/usr/lib/firefox 4\. You're done! Do an "ant run" and give it a try
Enjoy the thumbnailing goodness..