Roo Flex add-on is ALIVE!
It's always good to ask. The Roo Flex add-on had been incompatible with Roo 1.1.0, and I've been working on the rich web chapter. I had checked in with Jeremy Grelle, the lead on the Spring Flex Integration framework, and he let me know that he got everything going again with a recent snapshot.
If you'd like to play with the Roo Flex integration libraries, here's what you need to do:
Download it!
Download the latest snapshot jar for the add-on here (can't guarantee that it will work the same way for you, but the one 11/20 worked fine for me).
Install the JAR
Put the add-on JAR in the roo-1.1.0/bundle directory
Install the snapshot repository
Edit your project's <repositories> section and add:
<repository>
<id>spring-snapshot</id>
<name>Spring Portfolio Snapshot Repository</name>
<url>http://maven.springframework.org/snapshot</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
You have to do this for now, because the Blaze DS 4.0 integration libraries aren't checked in to a final repository.
Install it in your project
Now, just use the flex setup command to install the Flex scaffolding engine. When you want to build a scaffold, experiment with the flex remoting command to generate a scaffold View class for your Scaffold, such as:
flex remoting all --package ~.model
Running it
Just use mvn package jetty:run-exploded to kick off your application (Tomcat is fine but I am partial to Jetty for embedded maven runs). When the server starts, make sure to hit http://localhost:8080/appname/appname_scaffold.html to view your scaffolded UI.
(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)






Comments
Mark Unknown replied on Mon, 2011/01/03 - 12:53pm
Note: But as everything, one must weight all the pros and cons.
Manuel Jordan replied on Mon, 2011/01/03 - 1:01pm
Ken Rimple replied on Wed, 2011/01/05 - 5:27am
in response to:
Manuel Jordan
Ken Rimple replied on Wed, 2011/01/05 - 5:38am
in response to:
Mark Unknown
Ken Rimple replied on Wed, 2011/01/05 - 6:00am
in response to:
Ken Rimple
Manuel Jordan replied on Thu, 2011/01/06 - 9:56am
in response to:
Ken Rimple
County Line Nissan replied on Mon, 2011/08/01 - 11:13am
Jessie Mear replied on Wed, 2011/09/07 - 8:14am
Carla Brian replied on Sat, 2012/06/09 - 3:03am