In the previous recipe, we saw how we can scaffold a complete GWT application using Roo. In this recipe, we'll see how Roo simplifies setting up Flex for your Roo project. In the next recipe Scaffolding Flex application from JPA entities we'll look at how Roo generates a fully-functional Flex application to perform CRUD operations on JPA entities.
At the time of writing this book, Flex addon is not compatible with Spring Roo 1.1.3 and above; therefore, download Spring Roo 1.1.2.
At the time of writing this recipe, the Flex addon used is the snapshot version dated 15-Aug-2011 from the
Flex Spring Roo addon repository (http://s3browse.springsource.com/browse/maven.springframework.org/snapshot/org/springframework/flex/roo/addon/org.springframework.flex.roo.addon/1.0.0.BUILD-SNAPSHOT/). Download the JAR file named
org.springframework.flex.roo.addon-xx.jar and copy it to Roo's
bundle directory or install it using the
osgi start (explained...