JPragma Blog

Pragmatic Developers, Elegant Software

Archive for the ‘Flex’ Category

FlexBuilder code formatter

leave a comment »

Automatic code format and correcting indentation are essential features of any IDE. Unfortunately FlexBuilder currently doesn’t have them. Recently I found very cool plugin called flexformatter that solves this issue. Start by installing flexformatter using eclipse update site. After restaring Eclipse/FlexBuilder you will find “Flex Formatting” menu under “Preferences”.

Here is some description of various configuration options and my configuration file that can be simply imported.

Written by isaaclevin

February 14, 2010 at 7:20 pm

Posted in Flex

Combined Java+Flex project with hot redeployment

leave a comment »

In small applications it makes sense to combine Java and Flex code under same project. I’m a big fan of maven and one of my favorite maven plugins is embedded jetty container. This plugin runs jetty directly from maven and supports automatic monitoring and redeployment of java classes and resources. I thought it would be nice to run Java+Flex projects in the same way and have updated SWF file instantly available in the browser immediately after Flex Builder compiles it.

You can find step-by-step instructions on such project set up on my wiki:

Written by isaaclevin

February 14, 2010 at 7:16 pm

Posted in Flex, Java