Spring Roo 1.0.2 Selenium Fix
If you are jumping into Spring Roo and you have downloaded the latest 1.0.2 release in order to follow the ten minute test, then you will encounter an issue if you are running Firefox 3.6 on Mac OS X Snow Leopard.
The step that executes “mvn selenium:selenese” will fail due to an incompatible version of sqlliblite3.dylib in the Firefox. After searching the forums and finding various solutions that didn’t work for me, I went into the pom.xml in my “ten-minutes” Roo project and updated the Selenium version to 1.0.1. After this update, Selenium was able to execute Firefox correctly. A snippet of my pom.xml maven file is below.
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>selenium-maven-plugin</artifactId>
<version>1.0.1</version>
<configuration>
<suite>src/main/webapp/selenium/test-suite.xhtml</suite>
<browser>*firefox</browser>
<results>
${project.build.directory}/target/selenium.txt
</results>
<startURL>http://localhost:4444/</startURL>
</configuration>
</plugin>
Of course, this is only a temporary fix until the Roo project updates the referenced Selenium version.
