Posts

Showing posts from February, 2008

grails-selenium-0.1

This release has been superseded - Please see http://grails.codehaus.org/Selenium+plugin for the latest release information. I'm a big fan of Selenium - it lets me test my web applications easily, quickly, and inside the browser. Now I've created a Grails plugin to bring the efficiency of Selenium to Grails projects easily. When you install this plugin, it will download the Selenium-Core distribution (currently version 0.8.3 - 1.5MB) and extract it into your grails application (into <grails project>/web-app/selenium/core). Now you simply create your Selenium tests - putting them in <grails project>/web-app/selenium/tests. This plugin will automatically generate your test suite by listing all of the files in the selenium/tests directory. You can create tests as standard HTML as per the selenium documentation (and easily created using SeleniumIDE ). Or, you can for-go the HTML for pipe delimited text files (*.psv) - this plugin will convert the pipe delimited fil

Installing Grails on Linux

I run Linux ( Ubuntu 7.10) as my desktop operating system, and it's working out well. However, every time I upgrade Grails I forget to make the script in $GRAILS_HOME/bin executable and get this error: prule@dev2:~/workspace/film-suggestions-grails$ grails clean Exception in thread "main" java.lang.NoClassDefFoundError: org/codehaus/groovy/grails/cli/support/GrailsStarter So, if you find yourself with this cryptic message, it is time to RTFM - the installation instructions actually point out: If you get an error message, try to chmod +x the grails script inside the bin directory. When I googled this exception I got unrelated stuff. Hopefully now if you search for this you'll find this post and be up and running fast. Note:  I experience this problem because I always download the zip distribution. If you get the tar.gz binary, extracting this will preserve the correct file permissions.

Linux VPS - RimuHosting.com

Image
Looking to host an application on the web? The most flexible solution is to have a virtual server - JavaThinking.com and FilmSuggestions.com are hosted on a Linux VPS from RimuHosting.com . This gives me root access to my very own Linux installation where I can install anything I want and configure it any way I want. I can recommend RimuHosting (although they are the only provider I've tried) - they have been very helpful and quick to respond to questions. Their services seem complete and appropriately priced, and the service is excellent. They've got very useful information about Linux and Java hosting on their Bliki and in their HOWTOs . Our VPS Hosting By RimuHosting