Over a million developers have joined DZone.
Silver Partner

Roo Flex add-on is ALIVE!

· Java Zone

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.



Topics:

Published at DZone with permission of Ken Rimple , DZone MVB .

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}